Skip to content

Instantly share code, notes, and snippets.

@gylaz
Created May 13, 2013 17:25
Show Gist options
  • Save gylaz/5569946 to your computer and use it in GitHub Desktop.
Save gylaz/5569946 to your computer and use it in GitHub Desktop.
Fast spec helper example (no rails)
$: << File.expand_path('../..', __FILE__)
require 'webmock/rspec'
require 'bourne'
Dir['spec/support/**/*.rb'].each {|f| require f}
RSpec.configure do |config|
config.order = 'random'
config.mock_with :mocha
config.include GithubApiHelper
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment