spec/spec_helper.rb in kaminari-rspec-0.14.1 vs spec/spec_helper.rb in kaminari-rspec-0.16.1
- old
+ new
@@ -4,8 +4,12 @@
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
- config.color_enabled = true
- config.formatter = 'documentation'
+ config.color = true
+ config.formatter = 'documentation'
+
+ config.expect_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
end
\ No newline at end of file