Remove unnecessary user from test
This commit is contained in:
parent
dcac37d9e4
commit
3ada8f45c7
|
@ -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…
Reference in New Issue