Skip to content

Instantly share code, notes, and snippets.

@sbellware
Created November 28, 2010 17:38
Show Gist options
  • Select an option

  • Save sbellware/719119 to your computer and use it in GitHub Desktop.

Select an option

Save sbellware/719119 to your computer and use it in GitHub Desktop.
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'instructions'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment