spec/spec_helper.rb in redbooth-ruby-0.0.4 vs spec/spec_helper.rb in redbooth-ruby-0.0.5
- old
+ new
@@ -6,10 +6,11 @@
require 'redbooth-ruby'
require 'rspec'
require 'webmock/rspec'
require 'pry'
require 'vcr'
+require 'rack/test'
# Requires support files
Dir[File.join(File.dirname(__FILE__), 'shared/**/*.rb')].each {|f| require f}
# VCR cassette configuration
@@ -20,7 +21,8 @@
config.default_cassette_options = { record: :new_episodes }
config.configure_rspec_metadata!
end
RSpec.configure do |config|
+ config.include Rack::Test::Methods
config.extend VCR::RSpec::Macros
end