diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 12:25:47 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-07 12:25:47 +0400 |
commit | d09d87e3b022f6b7cba0988c4377e44196e35939 (patch) | |
tree | ac48b32b7fdb7dc9769da01f1c143c5df6f0e73a /spec | |
parent | cdcf69d0d9c06bbaf6a6ba25793985fe02dd1092 (diff) |
fix deploy key spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/key_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb index 6d2310df5c0..94b952cf932 100644 --- a/spec/models/key_spec.rb +++ b/spec/models/key_spec.rb @@ -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 |