Skip to content

Commit ebc8feb

Browse files
committed
Reduce sandboxing
1 parent 741488e commit ebc8feb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/rspec/rails/view_rendering_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module RSpec::Rails
2-
RSpec.describe ViewRendering, :with_isolated_config do
2+
RSpec.describe ViewRendering do
33
let(:group) do
44
RSpec::Core::ExampleGroup.describe do
55
def controller
@@ -53,14 +53,14 @@ def example.controller
5353
expect(group.new.render_views?).to be_falsey
5454
end
5555

56-
it "overrides the global config if render_views is enabled there", :with_isolated_config do
56+
it "overrides the global config if render_views is enabled there" do
5757
allow(RSpec.configuration).to receive(:render_views?).and_return true
5858
group.render_views false
5959
expect(group.new.render_views?).to be_falsey
6060
end
6161
end
6262

63-
it 'propagates to examples in nested groups properly' do
63+
it 'propagates to examples in nested groups properly', :with_isolated_config do
6464
value = :unset
6565

6666
group.class_exec do

0 commit comments

Comments
 (0)