summaryrefslogtreecommitdiff
path: root/spec/models/deploy_keys_project_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/deploy_keys_project_spec.rb')
-rw-r--r--spec/models/deploy_keys_project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/deploy_keys_project_spec.rb b/spec/models/deploy_keys_project_spec.rb
index 0345fefb254..fca3090ff4a 100644
--- a/spec/models/deploy_keys_project_spec.rb
+++ b/spec/models/deploy_keys_project_spec.rb
@@ -8,7 +8,7 @@ describe DeployKeysProject do
describe "Validation" do
it { is_expected.to validate_presence_of(:project_id) }
- it { is_expected.to validate_presence_of(:deploy_key_id) }
+ it { is_expected.to validate_presence_of(:deploy_key) }
end
describe "Destroying" do