GemHelpers.new(
required_gems: %w[rspec rspec-expectations rspec-core],
helper_modules: %w[RSpec::Matchers]
),
# https://github.com/rspec/rspec-mocks
GemHelpers.new(
required_gems: %w[rspec-mocks],
helper_modules: %w[RSpec::Mocks::ExampleMethods]
),
# @see https://github.com/rspec/rspec-rails#what-tests-should-i-write
# @see https://github.com/rspec/rspec-rails#helpful-rails-matchers
GemHelpers.new(
required_gems: %w[rspec-rails actionmailer activesupport actionpack],
helper_modules: [
'RSpec::Rails::Matchers',
'ActionController::TestCase::Behavior',
'ActionMailer::TestCase::Behavior',
'ActiveSupport::Testing::Assertions',
'ActiveSupport::Testing::TimeHelpers',
'ActiveSupport::Testing::FileFixtures',
'ActiveRecord::TestFixtures',
'ActionDispatch::Integration::Runner',
'ActionDispatch::Routing::UrlFor',
'ActionController::TemplateAssertions'
]
),
# @see https://matchers.shoulda.io/docs/v6.2.0/#matchers
GemHelpers.new(
required_gems: %w[shoulda-matchers],
helper_modules: [
'Shoulda::Matchers::ActiveModel',
'Shoulda::Matchers::ActiveRecord',
'Shoulda::Matchers::ActionController',
'Shoulda::Matchers::Routing'
]
),
# @see https://github.com/wspurgin/rspec-sidekiq#matchers
GemHelpers.new(
required_gems: %w[rspec-sidekiq],
helper_modules: %w[RSpec::Sidekiq::Matchers]
),
# @see https://github.com/bblimke/webmock#examples
GemHelpers.new(
required_gems: %w[webmock],
helper_modules: %w[WebMock::API WebMock::Matchers]
),
# @see https://github.com/brooklynDev/airborne
GemHelpers.new(
required_gems: %w[airborne],
helper_modules: %w[Airborne]
)
].freeze