Commit 1ee9f7db authored by Shinya Maeda's avatar Shinya Maeda

Remove a spec: validate_uniqueness_of for key

parent 08fba132
......@@ -4,5 +4,4 @@ describe Ci::PipelineScheduleVariable, models: true do
subject { build(:ci_pipeline_schedule_variable) }
it { is_expected.to include_module(HasVariable) }
it { is_expected.to validate_uniqueness_of(:key).scoped_to(:pipeline_schedule_id) }
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