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 1
1
module RSpec ::Rails
2
- RSpec . describe ViewRendering , :with_isolated_config do
2
+ RSpec . describe ViewRendering do
3
3
let ( :group ) do
4
4
RSpec ::Core ::ExampleGroup . describe do
5
5
def controller
@@ -53,14 +53,14 @@ def example.controller
53
53
expect ( group . new . render_views? ) . to be_falsey
54
54
end
55
55
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
57
57
allow ( RSpec . configuration ) . to receive ( :render_views? ) . and_return true
58
58
group . render_views false
59
59
expect ( group . new . render_views? ) . to be_falsey
60
60
end
61
61
end
62
62
63
- it 'propagates to examples in nested groups properly' do
63
+ it 'propagates to examples in nested groups properly' , :with_isolated_config do
64
64
value = :unset
65
65
66
66
group . class_exec do
You can’t perform that action at this time.
0 commit comments