Specs for deploy_keys updated
This commit is contained in:
parent
b8b6515f93
commit
df583bf12d
5 changed files with 6 additions and 50 deletions
|
@ -2,7 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe Key do
|
||||
describe "Associations" do
|
||||
it { should belong_to(:user) }
|
||||
it { should belong_to(:user) or belong_to(:project) }
|
||||
end
|
||||
|
||||
describe "Validation" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue