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,7 +218,18 @@ def controller
218
218
expect ( view_spec . view ) . to eq ( view )
219
219
end
220
220
221
- it 'is accessible to hooks' do
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
+
232
+ it 'is accessible to hooks' , :pending => pending_only_on_ruby_22_rails_52 do
222
233
group = RSpec ::Core ::ExampleGroup . describe 'a view' , :type => :view do
223
234
specify { true }
224
235
end
You can’t perform that action at this time.
0 commit comments