spec/javascripts/appSpec.js in appjs-rails-1.0.0 vs spec/javascripts/appSpec.js in appjs-rails-1.0.1
- old
+ new
@@ -1,8 +1,8 @@
describe("app", function() {
beforeEach(function() {
- app._addSingleton('example', function(){});
+ app._singleton.add('example', function(){});
});
it("should be able to create example singleton", function() {
expect(app.example).not.toEqual(undefined);
});