Skip to content

Commit

Permalink
Merge pull request #3974 from bmac/issue-3969
Browse files Browse the repository at this point in the history
Remove duplicate createRecord test
  • Loading branch information
fivetanley committed Dec 7, 2015
2 parents 67bb2e6 + 0e62622 commit 41b203d
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 41b203d

Please sign in to comment.