diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-02 13:39:13 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-17 15:17:17 +0200 |
commit | 3ada8f45c7a719a95864b3ee2c1acdfdf4468eaa (patch) | |
tree | d7e391f697b1938698e95a409656daf33ecd10df /spec | |
parent | dcac37d9e41f21485822647b922ac952bf64358a (diff) | |
download | gitlab-ce-3ada8f45c7a719a95864b3ee2c1acdfdf4468eaa.tar.gz |
Remove unnecessary user from test
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/key_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/models/key_spec.rb b/spec/models/key_spec.rb index 6c06f5268b3..fcf2cb9f30d 100644 --- 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 |