From 4a83168c8636e8713ced1b8ecebcc1516b5a2aa3 Mon Sep 17 00:00:00 2001 From: Orban Botond Date: Mon, 20 Apr 2020 10:30:38 +0300 Subject: [PATCH] Fix rubocop issues --- Gemfile | 2 +- app/concepts/crud/common/operations/persist.rb | 2 +- spec/spec_helper.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index d07d27d..dc57eb9 100644 --- a/Gemfile +++ b/Gemfile @@ -56,7 +56,7 @@ gem "reform-rails", "~> 0.1" group :development, :test do # Call "byebug" anywhere in the code to stop execution and get a debugger console gem "bullet", "~> 5.7" - gem 'coveralls', require: false + gem "coveralls", require: false gem "awesome_print" gem "byebug", platforms: %i[mri mingw x64_mingw] # Adds support for Capybara system testing and selenium driver diff --git a/app/concepts/crud/common/operations/persist.rb b/app/concepts/crud/common/operations/persist.rb index c2c8276..b5e22d2 100644 --- a/app/concepts/crud/common/operations/persist.rb +++ b/app/concepts/crud/common/operations/persist.rb @@ -7,7 +7,7 @@ class Persist < Trailblazer::Operation # step Trailblazer::Operation::Policy::Pundit(XY, :create?) step Contract::Build() - step Contract::Validate() + step Contract::Validate() step Contract::Persist() end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 690642c..5541885 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration -require 'coveralls' +require "coveralls" Coveralls.wear! RSpec.configure do |config|