Updated

spec/support / site.rb

A
13 lines of codes
0 methods
N/A complexity/method
5 churn
0.0 complexity
20 duplications
RSpec.configure do |config| config.before(:suite) do
  1. Similar code found in 2 nodes Locations: 0 1
Site.destroy_all Site.reload end config.before(:each) do |example| Site.destroy_all Site.reload end end