spec/spec_helper.rb in wat_catcher-0.10.6 vs spec/spec_helper.rb in wat_catcher-0.10.7

- old
+ new

@@ -1,13 +1,18 @@ # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' + require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' +#require 'rr' +require 'sidekiq/testing/inline' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} + +Sidekiq::Testing.fake! RSpec.configure do |config| # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false