require rspec-sidekiq only in specs

This commit is contained in:
Georg Gadinger 2020-05-01 22:43:08 +02:00
parent 0109322610
commit 0504e4a5d4
2 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,7 @@ group :development, :test do
gem 'puma' gem 'puma'
gem 'rspec-rails', '~> 3.9' gem 'rspec-rails', '~> 3.9'
gem 'rspec-its', '~> 1.3' gem 'rspec-its', '~> 1.3'
gem "rspec-sidekiq", "~> 3.0" gem "rspec-sidekiq", "~> 3.0", require: false
gem 'factory_bot_rails', require: false gem 'factory_bot_rails', require: false
gem 'faker' gem 'faker'
gem 'capybara' gem 'capybara'

View File

@ -12,6 +12,7 @@ require "rspec/its"
require "devise" require "devise"
require "capybara/rails" require "capybara/rails"
require "capybara/rspec" require "capybara/rspec"
require "rspec-sidekiq"
# Requires supporting ruby files with custom matchers and macros, etc, in # Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are