Sha256: 22703e0ce7285f86738f60ea159bfa3463ef47238d135319281e37da6597804c

Contents?: true

Size: 758 Bytes

Versions: 5

Compression:

Stored size: 758 Bytes

Contents

# Temporary workaround to resolve circular dependency between rspec-rails' spec
# suite and ammeter.
require 'rspec/rails/matchers'

if ::Rails::VERSION::MAJOR >= 7
  require 'active_support/execution_context/test_helper'
end

module RSpec
  module Rails
    # @api public
    # Common rails example functionality.
    module RailsExampleGroup
      extend ActiveSupport::Concern
      include RSpec::Rails::SetupAndTeardownAdapter
      include RSpec::Rails::MinitestLifecycleAdapter
      include RSpec::Rails::MinitestAssertionAdapter
      include RSpec::Rails::FixtureSupport
      if ::Rails::VERSION::MAJOR >= 7
        include RSpec::Rails::TaggedLoggingAdapter
        include ActiveSupport::ExecutionContext::TestHelper
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/rspec-rails-6.0.4/lib/rspec/rails/example/rails_example_group.rb
rspec-rails-6.1.2 lib/rspec/rails/example/rails_example_group.rb
rspec-rails-6.1.1 lib/rspec/rails/example/rails_example_group.rb
rspec-rails-6.1.0 lib/rspec/rails/example/rails_example_group.rb
rspec-rails-6.0.4 lib/rspec/rails/example/rails_example_group.rb