spec/spec_helper.rb in simple-sql-0.4.3 vs spec/spec_helper.rb in simple-sql-0.4.4
- old
+ new
@@ -25,9 +25,11 @@
RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run focus: (ENV["CI"] != "true")
config.expect_with(:rspec) { |c| c.syntax = :expect }
config.order = "random"
+ config.example_status_persistence_file_path = ".rspec.data"
+
config.around(:each) do |example|
Simple::SQL.ask "DELETE FROM users"
Simple::SQL.ask "DELETE FROM unique_users"
example.run
end