Commit 3ada8f45c7a719a95864b3ee2c1acdfdf4468eaa
1 parent
dcac37d9
Exists in
master
and in
4 other branches
Remove unnecessary user from test
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
spec/models/key_spec.rb
| ... | ... | @@ -49,10 +49,8 @@ describe Key do |
| 49 | 49 | end |
| 50 | 50 | |
| 51 | 51 | context "validate it is a fingerprintable key" do |
| 52 | - let(:user) { create(:user) } | |
| 53 | - | |
| 54 | 52 | it "accepts the fingerprintable key" do |
| 55 | - build(:key, user: user).should be_valid | |
| 53 | + build(:key).should be_valid | |
| 56 | 54 | end |
| 57 | 55 | |
| 58 | 56 | it "rejects the unfingerprintable key (contains space in middle)" do | ... | ... |