File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -218,8 +218,19 @@ def controller
218
218
expect ( view_spec . view ) . to eq ( view )
219
219
end
220
220
221
+ if RUBY_VERSION <= "2.3.0" && ENV [ "RAILS_VERSION" ] !~ /stable/ && ::Rails . version . to_f == 5.2
222
+ pending_only_on_ruby_22_rails_52 = "" "
223
+ Rails 5.2.4.2 has a syntax error in ActionDispatch::Request::Session.
224
+ (A &. usage which does not work in 2.2.10)
225
+ It has been fixed but not released, this spec will not pass until that
226
+ has been released.
227
+ " ""
228
+ else
229
+ pending_only_on_ruby_22_rails_52 = false
230
+ end
231
+
221
232
# Regression test from rspec/rspec-rails#833
222
- it 'is accessible to configuration-level hooks' do
233
+ it 'is accessible to configuration-level hooks' , :pending => pending_only_on_ruby_22_rails_52 do
223
234
with_isolated_config do
224
235
run_count = 0
225
236
RSpec . configuration . before ( :each , :type => :view ) do
You can’t perform that action at this time.
0 commit comments