spec/spec_helper.rb in redstream-0.5.0 vs spec/spec_helper.rb in redstream-0.6.0
- old
+ new
@@ -2,15 +2,10 @@
require "active_record"
require "factory_bot"
require "database_cleaner"
require "timecop"
require "concurrent"
-require "mocha"
require "rspec/instafail"
-
-RSpec.configure do |config|
- config.mock_with :mocha
-end
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: "/tmp/redstream.sqlite3")
ActiveRecord::Base.connection.execute "DROP TABLE IF EXISTS products"