OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcac37d
)
Remove unnecessary user from test
author
Jacob Vosmaer
<contact@jacobvosmaer.nl>
Tue, 2 Jul 2013 11:39:13 +0000
(13:39 +0200)
committer
Jacob Vosmaer
<contact@jacobvosmaer.nl>
Wed, 17 Jul 2013 13:17:17 +0000
(15:17 +0200)
spec/models/key_spec.rb
patch
|
blob
|
history
diff --git
a/spec/models/key_spec.rb
b/spec/models/key_spec.rb
index
6c06f52
..
fcf2cb9
100644
(file)
--- a/
spec/models/key_spec.rb
+++ b/
spec/models/key_spec.rb
@@
-49,10
+49,8
@@
describe Key do
end
context "validate it is a fingerprintable key" do
- let(:user) { create(:user) }
-
it "accepts the fingerprintable key" do
- build(:key
, user: user
).should be_valid
+ build(:key).should be_valid
end
it "rejects the unfingerprintable key (contains space in middle)" do