fix deploy key spec

This commit is contained in:
Dmitriy Zaporozhets 2013-02-07 10:25:47 +02:00
parent cdcf69d0d9
commit d09d87e3b0

View file

@ -46,9 +46,9 @@ describe Key do
key.should_not be_valid
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.should be_valid
key.should_not be_valid
end
end