Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-04-25 18:48:12 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-04-27 17:59:25 +0300
commit972440b15dfe2b76670f9bf6f39b8a9dd41589ca (patch)
treef01c7526f6d08429eb8d5c22f4157679002284ee /spec/models/service_spec.rb
parent67974f1dfb413452ca6fc048c856360f4a843eb1 (diff)
tadds migration to remove invalid services
Diffstat (limited to 'spec/models/service_spec.rb')
-rw-r--r--spec/models/service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/service_spec.rb b/spec/models/service_spec.rb
index f5ba8f76f40..4d0181ca297 100644
--- a/spec/models/service_spec.rb
+++ b/spec/models/service_spec.rb
@@ -7,7 +7,7 @@ describe Service, models: true do
end
describe 'Validations' do
- it { is_expected.to validate_presence_of(:type).on(:create) }
+ it { is_expected.to validate_presence_of(:type) }
end
describe "Test Button" do