Skip to content

Commit b064051

Browse files
authored
Merge pull request #150 from Earlopain/prism-skip
2 parents 12a2b8b + bdf9d62 commit b064051

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

spec/rubocop/cop/factory_bot/consistent_parentheses_style_spec.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,7 @@
201201
end
202202

203203
%w[&& ||].each do |operator|
204-
# FIXME: `undefined method `[]' for nil` occurs Prism 0.24.0.
205-
# It has been resolved in the development line.
206-
# This will be resolved in Prism > 0.24.0 and higher releases.
207-
context "with #{operator}", broken_on: :prism do
204+
context "with #{operator}" do
208205
it 'does not flag the call' do
209206
expect_no_offenses(<<~RUBY)
210207
can_create_user? #{operator} create(:user)
@@ -213,10 +210,7 @@
213210
end
214211
end
215212

216-
# FIXME: `undefined method `[]' for nil` occurs Prism 0.24.0.
217-
# It has been resolved in the development line.
218-
# This will be resolved in Prism > 0.24.0 and higher releases.
219-
context 'with ternary operator', broken_on: :prism do
213+
context 'with ternary operator' do
220214
it 'does not flag the call' do
221215
expect_no_offenses(<<~RUBY)
222216
can_create_user? ? create(:user) : nil

0 commit comments

Comments
 (0)