Commit 15e6d78d authored by Douwe Maan's avatar Douwe Maan

Update spec

parent b2d85e3a
......@@ -11,7 +11,7 @@ describe PathLocksHelper do
it "return correct string for nested locks" do
user = create :user, name: 'John'
path_lock = create :path_lock, path: 'app', user: user
expect(text_label_for_lock(path_lock, 'app/models')).to eq('John locked app')
expect(text_label_for_lock(path_lock, 'app/models')).to eq('John has a lock on "app"')
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment