Skip to content

Commit

Permalink
remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
krisselden committed Jul 14, 2012
1 parent 557ba62 commit 7b7656f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/ember-metal/tests/accessors/get_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,6 @@ test('should get arbitrary properties on an object', function() {

});

test('should call unknownProperty if defined and value is undefined', function() {

var obj = {
count: 0,
unknownProperty: function(key) {
equal(key, 'foo', 'should pass key');
this.count++;
return 'FOO';
}
};

equal(Ember.get(obj, 'foo'), 'FOO', 'should return value from unknown');
equal(obj.count, 1, 'should have invoked');
});

testBoth("should call unknownProperty on watched values if the value is undefined", function(get, set) {
var obj = {
count: 0,
Expand Down

0 comments on commit 7b7656f

Please sign in to comment.