Remove a spec: validate_uniqueness_of for key

This commit is contained in:
Shinya Maeda 2017-07-07 16:27:42 +09:00
parent 08fba1327f
commit 1ee9f7db83

View file

@ -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