BigW Consortium Gitlab

Commit d09d87e3 by Dmitriy Zaporozhets

fix deploy key spec

parent cdcf69d0
...@@ -46,9 +46,9 @@ describe Key do ...@@ -46,9 +46,9 @@ describe Key do
key.should_not be_valid key.should_not be_valid
end end
it "does accept the same key for another project" do it "does not accept the same key for another project" do
key = build(:key, project_id: 0) key = build(:key, project_id: 0)
key.should be_valid key.should_not be_valid
end 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