Class: Shoulda::Matchers::Integrations::TestFrameworks::Rspec

Inherits:
Object
  • Object
show all
Defined in:
lib/shoulda/matchers/integrations/test_frameworks/rspec.rb

Instance Method Summary collapse

Instance Method Details

#include(*modules, **options) ⇒ Object



12
13
14
15
16
# File 'lib/shoulda/matchers/integrations/test_frameworks/rspec.rb', line 12

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

#n_unit?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/shoulda/matchers/integrations/test_frameworks/rspec.rb', line 18

def n_unit?
  false
end

#present?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/shoulda/matchers/integrations/test_frameworks/rspec.rb', line 22

def present?
  true
end

#validate!Object



9
10
# File 'lib/shoulda/matchers/integrations/test_frameworks/rspec.rb', line 9

def validate!
end