Master mode (Rails 2) Put the attached file into your spec directory, then merge these lines into your spec_helper.rb: require 'spec/constants_helper' Spec::Runner.configure do |config| # ... config.include ConstantsHelper config.after(:each...
Master mode (Rails 2) Put the attached file into your spec directory, then merge these lines into your spec_helper.rb: require 'spec/constants_helper' Spec::Runner.configure do |config| # ... config.include ConstantsHelper config.after(:each...