Sha256: 8c9d5df2eaf32efc239dc77917716ee5b39ea6b5dd35a0490519538cfe74259c
Contents?: true
Size: 692 Bytes
Versions: 2
Compression:
Stored size: 692 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'bundler' Bundler.require require 'vcr_setup' require File.expand_path("../../lib/rspec_api_test/http_helpers", __FILE__) # 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| # We're doing what the gem is doing to a user's rspec here # and then we test that the helpers are there in rspec. Tehehe config.include(RSpecAPITest::HTTPHelpers) config.before(:suite) do RSpecAPITest.config = nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec_api_test-0.0.2 | spec/spec_helper.rb |
rspec_api_test-0.0.1 | spec/spec_helper.rb |