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

Commit 31c1849

Browse files
committed
Remove spec that doesn’t belong here.
This isn’t even exercising any of the profile formatter code!
1 parent b5c37e5 commit 31c1849

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spec/rspec/core/formatters/profile_formatter_spec.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,5 @@ def profile *groups
8383
expect(formatter_output.string).to match(/slow group(.*)fast group/m)
8484
end
8585
end
86-
87-
it "depends on parent_groups to get the top level example group" do
88-
ex = nil
89-
group = RSpec.describe
90-
group.describe("group 2") do
91-
describe "group 3" do
92-
ex = example("nested example 1")
93-
end
94-
end
95-
96-
expect(ex.example_group.parent_groups.last).to eq(group)
97-
end
9886
end
9987
end

0 commit comments

Comments
 (0)