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