spec/spec_helper.rb
# A quick-and-dirty method to load RSpec helper files in spec/support
A quick-and-dirty method to load RSpec helper files in spec/support
A quick - and - dirty method to load RSpec helper files in spec / support
def require_helper_named(helper_name)
  require "#{File.join(
    File.dirname(__FILE__),
    "support",
    "#{helper_name}.rb")}"
end
def require_helper_named ( helper_name ) require "#{File.join(
    File.dirname(__FILE__),
    "support",
    "#{helper_name}.rb")}" end
A quick-and-dirty method to load RSpec helper files in spec/support
A quick - and - dirty method to load RSpec helper files in spec / support
helper_name