spec/spec_helper.rb in cssbuttongenerator-css-rails-1.0.5 vs spec/spec_helper.rb in cssbuttongenerator-css-rails-1.1.0
- 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