ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject [1/2] ambari git commit: AMBARI-16983. Installer/ASW: Next and Back button should be disabled once its clicked (onechiporenko)
Date Thu, 02 Jun 2016 06:49:40 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 3148759f4 -> fb69fb6f1


http://git-wip-us.apache.org/repos/asf/ambari/blob/fb69fb6f/ambari-web/test/views/wizard/step4_view_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/wizard/step4_view_test.js b/ambari-web/test/views/wizard/step4_view_test.js
index 7763c79..971e33b 100644
--- a/ambari-web/test/views/wizard/step4_view_test.js
+++ b/ambari-web/test/views/wizard/step4_view_test.js
@@ -16,27 +16,6 @@
  * limitations under the License.
  */
 
-var App = require('app');
-require('views/wizard/step4_view');
-
-var view;
-
 describe('App.WizardStep4View', function () {
 
-  beforeEach(function () {
-    view = App.WizardStep4View.create();
-  });
-
-  describe('#didInsertElement()', function () {
-    beforeEach(function () {
-      sinon.stub(App.get('router'), 'set', Em.K);
-    });
-    afterEach(function () {
-      App.get('router').set.restore();
-    });
-    it('router.transitionInProgress is set to false', function () {
-      view.didInsertElement();
-      expect(App.get('router').set.calledWith('transitionInProgress', false)).to.be.false;
-    });
-  });
 });

http://git-wip-us.apache.org/repos/asf/ambari/blob/fb69fb6f/ambari-web/test/views/wizard/step7_view_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/wizard/step7_view_test.js b/ambari-web/test/views/wizard/step7_view_test.js
index 022f1e0..c295f7d 100644
--- a/ambari-web/test/views/wizard/step7_view_test.js
+++ b/ambari-web/test/views/wizard/step7_view_test.js
@@ -17,29 +17,6 @@
  */
 
 
-var App = require('app');
-require('views/wizard/step7_view');
-var view;
-
 describe('App.WizardStep7View', function() {
 
-  beforeEach(function() {
-    view = App.WizardStep7View.create({
-      controller: App.WizardStep7Controller.create()
-    });
-  });
-
-  describe('#didInsertElement', function() {
-    beforeEach(function() {
-      sinon.stub(App.get('router'), 'set', Em.K);
-    });
-    afterEach(function() {
-      App.get('router').set.restore();
-    });
-
-    it('should call loadStep', function() {
-      view.didInsertElement();
-      expect(App.get('router').set.calledWith('transitionInProgress', false)).to.be.false;
-    });
-  });
 });


Mime
View raw message