Skip to content

Commit

Permalink
Merge pull request #10545 from rwjblue/fix-typo-in-tests
Browse files Browse the repository at this point in the history
Fix spelling error in CP readOnly deprecation tests.
  • Loading branch information
stefanpenner committed Feb 26, 2015
2 parents c31ab77 + f6e1896 commit a64481a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-metal/tests/computed_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ QUnit.test('calling readOnly() on a computed property with arguments raises a de
QUnit.test('passing readOnly in a the options to the CP constructor raises a deprecation', function() {
expectDeprecation(function() {
new ComputedProperty(function() {}, { readOnly: false });
}, "Passing opts.readOnly to the CP constructor is deprecated. All CPs are writable by default. Yo can invoke `readOnly()` on the CP to change this.");
}, "Passing opts.readOnly to the CP constructor is deprecated. All CPs are writable by default. You can invoke `readOnly()` on the CP to change this.");
});

testBoth('inherited property should not pick up cache', function(get, set) {
Expand Down

0 comments on commit a64481a

Please sign in to comment.