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

Commit ae587a5

Browse files
kykyiJonRowe
andauthored
Apply suggestions from code review
Co-authored-by: Jon Rowe <[email protected]>
1 parent dc64765 commit ae587a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/integration/location_rerun_spec.rb

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
rspec './local_shared_examples_spec.rb[1:2:1:2:1]' # the second context behaves like a failing spec when you reverse it still fails
7878
EOS
7979
end
80+
8081
context "and the shared examples are defined in a separate file" do
8182
it 'prints the example id of the failed assertion' do
8283
run_command("#{Dir.pwd}/tmp/aruba/non_local_shared_examples_spec.rb")
@@ -113,6 +114,7 @@
113114
EOS
114115
end
115116
end
117+
116118
context "and the shared examples are defined in a separate file" do
117119
it 'prints the line number where the `it_behaves_like` was called in the local file' do
118120
run_command("#{Dir.pwd}/tmp/aruba/non_local_shared_examples_spec.rb")

spec/rspec/core/configuration_spec.rb

-1
Original file line numberDiff line numberDiff line change
@@ -2979,7 +2979,6 @@ def emulate_not_configured_expectation_framework
29792979
end
29802980

29812981
describe "#force_line_number_for_spec_rerun" do
2982-
29832982
it "defaults to false" do
29842983
expect(config.force_line_number_for_spec_rerun).to eq false
29852984
end

0 commit comments

Comments
 (0)