mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
ChangeEntityTags -> ChangeTags
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user