spec/spec_helper.rb in ransack-1.8.8 vs spec/spec_helper.rb in ransack-1.8.9
- old
+ new
@@ -42,9 +42,10 @@
config.before(:all) { Sham.reset(:before_all) }
config.before(:each) { Sham.reset(:before_each) }
config.include RansackHelper
+ config.include PolyamorousHelper
end
RSpec::Matchers.define :be_like do |expected|
match do |actual|
actual.gsub(/^\s+|\s+$/, '').gsub(/\s+/, ' ').strip ==