spec/spec_helper.rb in ransack-0.5.8 vs spec/spec_helper.rb in ransack-0.6.0
- old
+ new
@@ -18,10 +18,16 @@
tag_name { Faker::Lorem.words(3).join(' ') }
note { Faker::Lorem.words(7).join(' ') }
end
RSpec.configure do |config|
- config.before(:suite) { Schema.create }
+ config.before(:suite) do
+ puts '=' * 80
+ puts "Running specs against ActiveRecord #{ActiveRecord::VERSION::STRING} and ARel #{Arel::VERSION}..."
+ puts '=' * 80
+ Schema.create
+ end
+
config.before(:all) { Sham.reset(:before_all) }
config.before(:each) { Sham.reset(:before_each) }
config.include RansackHelper
end
\ No newline at end of file