Forgot to change part of the new tag test.

This commit is contained in:
John Montgomery
2015-03-30 22:37:26 -04:00
parent c22acb81a8
commit c2e2122efd

View File

@@ -12,7 +12,7 @@ describe('Filters Controller', function() {
it('creates a tag', function(){
scope._newTag = {name:'tagName'}
scope.createTag('tagName');
scope.createTag();
expect(user.tags).to.have.length(1);
expect(user.tags[0].name).to.eql('tagName');
expect(user.tags[0]).to.have.property('id');