Skip to content

Commit

Permalink
Remove duplicate createRecord test
Browse files Browse the repository at this point in the history
Closes #3969

This test has been obsolete since #3033
  • Loading branch information
bmac committed Dec 7, 2015
1 parent a2290f9 commit 0e62622
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/unit/store/create-record-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,6 @@ module("unit/store/createRecord - Store with models by dash", {
}
});

test("creating a record by camel-case string finds the model", function(assert) {
var attributes = { foo: 'bar' };
var record;

run(function() {
record = store.createRecord('some-thing', attributes);
});

assert.equal(record.get('foo'), attributes.foo, "The record is created");
assert.equal(store.modelFor('someThing').modelName, 'some-thing');
});

test("creating a record by dasherize string finds the model", function(assert) {
var attributes = { foo: 'bar' };
var record;
Expand Down

0 comments on commit 0e62622

Please sign in to comment.