Skip to content

Commit

Permalink
Merge pull request #96 from voxik/ruby34
Browse files Browse the repository at this point in the history
Ruby 3.4 replaces initial backtick by single quote
  • Loading branch information
JonRowe authored Nov 4, 2024
2 parents 1722532 + f62f97e commit 38955ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/its.feature
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Feature: attribute of subject
When I run rspec
Then the example should fail
And the output should contain "Failure/Error: its(:foo) { will_not raise_error }"
And the output should contain "expected no Exception, got #<NoMethodError: undefined method `foo'"
And the output should match /expected no Exception, got #<NoMethodError: undefined method [`']foo'/

Scenario: examples will warn when using non block expectations
Given a file named "example_spec.rb" with:
Expand Down

0 comments on commit 38955ea

Please sign in to comment.