Module: DontRepeatYourself::UnitTestingHelpers::TestUnitExtension

Includes:
RubyProjectHelpers
Included in:
Test::Unit::TestCase
Defined in:
lib/dont_repeat_yourself/unit_testing_helpers.rb

Overview

Test::Unit extension

Instance Method Summary collapse

Methods included from RubyProjectHelpers

#ruby_project

Instance Method Details

#assert_dry(project) ⇒ Object



30
31
32
# File 'lib/dont_repeat_yourself/unit_testing_helpers.rb', line 30

def assert_dry(project)
  assert(project.dry?, project.failure_message)
end