spec/spec_helper.rb in qtip2-jquery-rails-2.1.107 vs spec/spec_helper.rb in qtip2-jquery-rails-2.1.108
- old
+ new
@@ -22,9 +22,13 @@
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
RSpec.configure do |config|
+ config.expect_with :rspec do |c|
+ c.syntax = :expect
+ end # config.expect_with
+
# ## Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
#
# config.mock_with :mocha