Module: DontRepeatYourself::UnitTestingHelpers::RSpecMatchers

Includes:
RubyProjectHelpers
Defined in:
lib/dont_repeat_yourself/unit_testing_helpers.rb

Defined Under Namespace

Classes: BeDRYMatcher

Instance Method Summary collapse

Methods included from RubyProjectHelpers

#rails_application, #ruby_code_in_rails_plugin, #ruby_project

Instance Method Details

#follow_the_dry_principleObject

Custom expectation matcher



59
60
61
# File 'lib/dont_repeat_yourself/unit_testing_helpers.rb', line 59

def follow_the_dry_principle
  DontRepeatYourself::UnitTestingHelpers::RSpecMatchers::BeDRYMatcher.new
end