Skip to content

Commit

Permalink
Fixes failing JSONSerializer test due to Ember.K deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
locks committed Jan 8, 2017
1 parent d13fee7 commit 21c77a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/serializers/json-serializer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ test("shouldSerializeHasMany", function(assert) {

if (isEnabled("ds-check-should-serialize-relationships")) {
testInDebug("_shouldSerializeHasMany deprecation", function(assert) {
env.store.serializerFor("post")._shouldSerializeHasMany = Ember.K;
env.store.serializerFor("post")._shouldSerializeHasMany = function() {};

assert.expectDeprecation(function() {
env.store.serializerFor("post").shouldSerializeHasMany();
Expand Down

0 comments on commit 21c77a1

Please sign in to comment.