Skip to content

Commit 54613f7

Browse files
committed
Explicitly enable both RSpec expectation styles
1 parent 67a3369 commit 54613f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/spec_helper.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
config.before do
55
JsonSpec.reset
66
end
7+
8+
config.expect_with :rspec do |c|
9+
c.syntax = [:should, :expect]
10+
end
11+
config.mock_with :rspec do |c|
12+
c.syntax = [:should, :expect]
13+
end
714
end
815

916
def files_path

0 commit comments

Comments
 (0)