spec/rails_helper.rb in enju_loc-0.2.0 vs spec/rails_helper.rb in enju_loc-0.3.0.beta.1
- old
+ new
@@ -32,18 +32,15 @@
# examples within a transaction, remove the following line or assign false
# instead of true.
config.use_transactional_fixtures = true
config.extend ControllerMacros, :type => :controller
- config.before do
- Sunspot.session = Sunspot::Rails::StubSessionProxy.new($original_sunspot_session)
- end
-
config.infer_spec_type_from_file_location!
end
VCR.configure do |c|
c.cassette_library_dir = 'spec/cassette_library'
c.hook_into :webmock
c.configure_rspec_metadata!
c.allow_http_connections_when_no_cassette = true
+ c.ignore_localhost = true
end