Sha256: 83b14bf7a56dae9493d1255346ec409feddb9228a459bed47ebb0acf9845dbe4

Contents?: true

Size: 801 Bytes

Versions: 43

Compression:

Stored size: 801 Bytes

Contents

// describe("Admins", function() {
// 
//   beforeEach(function() {
//    	 this.router      = new App.Controllers.Admins();
// 	 this.session     = new Session();
// 	 this.sessionStub = sinon.stub(this.session,"getAuthenticated").returns("true")
// 
// 	 this.home = new App.Views.Home({model:new Source()});
// 	 this.fetchStub = sinon.stub(this.model.home,'fetch').returns(null);
// 	 this.fetchSave = sinon.stub(this.model.home,'save').returns(null);
//   });
//   
//   afterEach(function() {
//     
//   });
// 
//   it("creats a new Index page if not logged in",function(){
// 	
// 	
// 	 this.router.index();
// 	
// 	 expect(sessionStub).toHaveBeenCalledOnce();
// 	 //expect(this.fetchStub).toHaveBeenCalledOnce();
// 	 //expect(this.fetchSave).toHaveBeenCalledOnce();
//   });
// 
// });

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rhoconnect-3.2.0.beta3 spec/javascripts/admins_spec.js
rhoconnect-3.2.0.beta2 spec/javascripts/admins_spec.js
rhoconnect-3.2.0.beta1 spec/javascripts/admins_spec.js