Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 1f72bee

Browse files
committed
Remove string literal warning
1 parent f29cd7f commit 1f72bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/core/formatters/base_text_formatter_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def run_all_and_dump_failures
207207

208208
context "with a failed message expectation (rspec-mocks)" do
209209
it "does not show the error class" do
210-
group.example("example name") { expect("this").to receive("that") }
210+
group.example("example name") { expect("this").to receive(:that) }
211211
run_all_and_dump_failures
212212
expect(formatter_output_without_formatter_module).not_to match(/RSpec::/m)
213213
end

0 commit comments

Comments
 (0)