Skip to content
Snippets Groups Projects
Commit 3ada8f45 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Remove unnecessary user from test

parent dcac37d9
No related branches found
No related tags found
No related merge requests found
Loading
@@ -49,10 +49,8 @@ describe Key do
Loading
@@ -49,10 +49,8 @@ describe Key do
end end
   
context "validate it is a fingerprintable key" do context "validate it is a fingerprintable key" do
let(:user) { create(:user) }
it "accepts the fingerprintable key" do it "accepts the fingerprintable key" do
build(:key, user: user).should be_valid build(:key).should be_valid
end end
   
it "rejects the unfingerprintable key (contains space in middle)" do it "rejects the unfingerprintable key (contains space in middle)" do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment