File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
features/step_definitions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
end
23
23
24
24
Given /active job is available/ do
25
- if ! RSpec ::Rails ::FeatureCheck . has_active_job?
25
+ unless RSpec ::Rails ::FeatureCheck . has_active_job?
26
26
pending "ActiveJob is not available"
27
27
end
28
28
end
29
29
30
30
Given /action cable testing is available/ do
31
- if ! RSpec ::Rails ::FeatureCheck . has_action_cable_testing?
31
+ unless RSpec ::Rails ::FeatureCheck . has_action_cable_testing?
32
32
pending "Action Cable testing is not available"
33
33
end
34
34
end
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class ::Helper; end
48
48
49
49
context 'application helper exists' do
50
50
before do
51
- if ! Object . const_defined? 'ApplicationHelper'
51
+ unless Object . const_defined? 'ApplicationHelper'
52
52
module ::ApplicationHelper ; end
53
53
@application_helper_defined = true
54
54
end
You can’t perform that action at this time.
0 commit comments