Skip to content

Commit

Permalink
Merge pull request #3 from JaapRood/model
Browse files Browse the repository at this point in the history
Fixed test for State
  • Loading branch information
Jaap van Hardeveld authored Jun 21, 2016
2 parents 866398f + 014b9d9 commit 497df3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Test('state.factory', function(t) {
t.ok(Immutable.Map.isMap(instance), 'returns an immutable map');
t.deepEqual(_.pick(instance.toObject(), ['a','b']), { a: 1, b: 3}, 'returned map contains default attributes');

var name = instance.get('__stateName');
var name = instance.get('__typeName');
var cid = instance.get('__cid');

t.equal(name, 'test-state', 'returned map has a name to identify instances of this State from others')
Expand Down

0 comments on commit 497df3d

Please sign in to comment.