Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-07 12:25:47 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-07 12:25:47 +0400
commitd09d87e3b022f6b7cba0988c4377e44196e35939 (patch)
treeac48b32b7fdb7dc9769da01f1c143c5df6f0e73a /spec/models/key_spec.rb
parentcdcf69d0d9c06bbaf6a6ba25793985fe02dd1092 (diff)
fix deploy key spec
Diffstat (limited to 'spec/models/key_spec.rb')
-rw-r--r--spec/models/key_spec.rb4
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