Remove unnecessary user from test

This commit is contained in:
Jacob Vosmaer 2013-07-02 13:39:13 +02:00
parent dcac37d9e4
commit 3ada8f45c7
1 changed files with 1 additions and 3 deletions

View File

@ -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