Module: DontRepeatYourself::UnitTestingHelpers::RubyProjectHelpers

Included in:
RSpecMatchers, TestUnitExtension
Defined in:
lib/dont_repeat_yourself/unit_testing_helpers.rb

Overview

module RubyAndRailsProjectHelpers

Instance Method Summary collapse

Instance Method Details

#ruby_project(project_path) ⇒ Object

Helpers

def ruby_code_in_rails_plugin(plugin_name)
  DontRepeatYourself::RailsPluginProjectReporter.new(plugin_name)
end

def rails_application
  DontRepeatYourself::RailsProjectReporter.new
end


20
21
22
# File 'lib/dont_repeat_yourself/unit_testing_helpers.rb', line 20

def ruby_project(project_path)
  DontRepeatYourself::RubyProjectReporter.new(project_path)
end