Skip to content

Commit

Permalink
Fix #26 Configure rspec to use expect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jhx committed Oct 13, 2014
1 parent 0718f06 commit 6c29833
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
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:
Expand Down

0 comments on commit 6c29833

Please sign in to comment.