Skip to content

Commit

Permalink
Remove rubocop warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aguspe committed Jul 23, 2024
1 parent 9eaf32c commit 194faf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions spec/integration/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
RSpec.configure do |config|
config.include(InvokeGenerators)
config.include(SettingsHelper)
# rubocop:disable RSpec/BeforeAfterAll
config.before(:all) do
FRAMEWORKS.each do |framework|
AUTOMATION_TYPES.each do |automation|
Expand All @@ -29,3 +30,4 @@
end
end
end
# rubocop:enable RSpec/BeforeAfterAll
3 changes: 2 additions & 1 deletion spec/system/watir_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
private

def run_tests_with(framework)
system("cd selenium_#{framework} && bundle install && raider utility browser_options chrome headless && bundle exec #{framework}")
folder = framework == 'rspec' ? 'spec' : 'features'
system("cd watir_#{framework} && bundle install && raider utility browser_options chrome headless && bundle exec #{framework} #{folder}")
end
end

0 comments on commit 194faf6

Please sign in to comment.