Created
May 13, 2013 17:25
-
-
Save gylaz/5569946 to your computer and use it in GitHub Desktop.
Fast spec helper example (no rails)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$: << 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