File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11module 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
You can’t perform that action at this time.
0 commit comments