Skip to content

Commit 5a5aa02

Browse files
authored
[rspec] Make generated description identification less strict (#517)
There is `is expected to include` `is expected to receive` `is expected to redirect` etc...
1 parent 20ec655 commit 5a5aa02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context-ruby/lib/trunk_spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def escape(str)
2929
end
3030

3131
def description_generated?(example)
32-
auto_generated_exp = /^\s?is expected to eq .*$/
32+
auto_generated_exp = /^\s?is expected to .*$/
3333
full_description = example.full_description
3434
parent_description = example.example_group.description
3535
checked_description = full_description.sub(parent_description, '')

0 commit comments

Comments
 (0)