Commit 3ada8f45 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove unnecessary user from test

parent dcac37d9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment