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

Remove unnecessary user from test

parent dcac37d9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
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