Skip to content

Commit 023f087

Browse files
committed
Fix #26 Configure rspec to use expect syntax
1 parent fd6717c commit 023f087

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
2525

2626
RSpec.configure do |config|
27+
config.expect_with :rspec do |c|
28+
c.syntax = :expect
29+
end # config.expect_with
30+
2731
# ## Mock Framework
2832
#
2933
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:

0 commit comments

Comments
 (0)