spec/spec_helper.rb in devise-guests-0.7.0 vs spec/spec_helper.rb in devise-guests-0.8.0
- old
+ new
@@ -1,22 +1,16 @@
-require 'rubygems'
-require 'bundler/setup'
+require "rubygems"
+require "bundler/setup"
-if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
- require 'simplecov'
- SimpleCov.start
-end
+require "combustion"
+require "capybara/rspec"
-require 'combustion'
-require 'capybara/rspec'
+require "devise"
+require "devise-guests"
+Combustion.initialize!(:active_record, :action_mailer)
-require 'devise'
-require 'devise-guests'
-Combustion.initialize!(:active_record,:action_mailer)
+require "rspec/rails"
+require "capybara/rails"
-require 'rspec/rails'
-require 'capybara/rails'
-
RSpec.configure do |config|
config.infer_spec_type_from_file_location!
end
-