Sha256: 517893cbbc7b3ebfcbb3c116927e8c0ae1466136fb12b1c2ff35ba99d4ad5041

Contents?: true

Size: 540 Bytes

Versions: 28

Compression:

Stored size: 540 Bytes

Contents

module Shoulda
  module Matchers
    module Integrations
      module TestFrameworks
        # @private
        class Rspec
          Integrations.register_test_framework(self, :rspec)

          def validate!
          end

          def include(*modules, **options)
            ::RSpec.configure do |config|
              config.include(*modules, **options)
            end
          end

          def n_unit?
            false
          end

          def present?
            true
          end
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
shoulda-matchers-6.4.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-6.3.1 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-6.3.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-6.2.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-6.1.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-6.0.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-5.3.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-5.2.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-5.1.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-5.0.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-5.0.0.rc1 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.5.1 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.5.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.4.1 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.4.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.3.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.2.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.1.2 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.1.1 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb
shoulda-matchers-4.1.0 lib/shoulda/matchers/integrations/test_frameworks/rspec.rb