class Shoulda::Matchers::Integrations::TestFrameworks::MissingTestFramework
@private
Public Instance Methods
Source
# File lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb, line 26 def include(*modules, **options) end
Source
# File lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb, line 29 def n_unit? false end
Source
# File lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb, line 33 def present? false end
Source
# File lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb, line 9 def validate! raise TestFrameworkNotConfigured, <<-EOT You need to set a test framework. Please add the following to your test helper: Shoulda::Matchers.configure do |config| config.integrate do |with| # Choose one: with.test_framework :rspec with.test_framework :minitest # or, :minitest_5 with.test_framework :minitest_4 with.test_framework :test_unit end end EOT end