ChangeEntityTags -> ChangeTags

This commit is contained in:
John Firebaugh
2013-01-31 12:07:54 -05:00
parent 6f7079d11c
commit df72ef254f
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
describe("iD.actions.ChangeEntityTags", function () {
describe("iD.actions.ChangeTags", function () {
it("changes an entity's tags", function () {
var entity = iD.Entity(),
tags = {foo: 'bar'},
graph = iD.actions.ChangeEntityTags(entity.id, tags)(iD.Graph([entity]));
graph = iD.actions.ChangeTags(entity.id, tags)(iD.Graph([entity]));
expect(graph.entity(entity.id).tags).to.eql(tags);
});
});