Skip to content

Instantly share code, notes, and snippets.

@novohispano
Created September 10, 2015 18:30
Show Gist options
  • Save novohispano/d2d35b077e726d23eece to your computer and use it in GitHub Desktop.
Save novohispano/d2d35b077e726d23eece to your computer and use it in GitHub Desktop.
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
require 'minitest/pride'
require 'webmock'
require 'vcr'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
VCR.configure do |config|
config.cassette_library_dir = "test/cassettes"
config.hook_into :webmock
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment