Commit d09d87e3b022f6b7cba0988c4377e44196e35939

Authored by Dmitriy Zaporozhets
1 parent cdcf69d0

fix deploy key spec

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
spec/models/key_spec.rb
@@ -46,9 +46,9 @@ describe Key do @@ -46,9 +46,9 @@ describe Key do
46 key.should_not be_valid 46 key.should_not be_valid
47 end 47 end
48 48
49 - it "does accept the same key for another project" do 49 + it "does not accept the same key for another project" do
50 key = build(:key, project_id: 0) 50 key = build(:key, project_id: 0)
51 - key.should be_valid 51 + key.should_not be_valid
52 end 52 end
53 end 53 end
54 54