Commit 430f7da3 authored by Valery Sizov's avatar Valery Sizov

Fix wrong resolvation

parent aa7617c4
...@@ -9,6 +9,7 @@ describe Ci::Variable, models: true do ...@@ -9,6 +9,7 @@ describe Ci::Variable, models: true do
stub_licensed_features(variable_environment_scope: true) stub_licensed_features(variable_environment_scope: true)
end end
it { is_expected.to include_module(HasVariable) }
it { is_expected.to validate_uniqueness_of(:key).scoped_to(:project_id, :environment_scope) } it { is_expected.to validate_uniqueness_of(:key).scoped_to(:project_id, :environment_scope) }
end end
......
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