Skip to content

Commit

Permalink
fixfix2
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshinotsuyoshi committed Oct 20, 2024
1 parent c49c2ec commit 39bc641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions backend/spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,3 @@
# arbitrary gems may also be filtered via:
# config.filter_gems_from_backtrace("gem name")
end


require 'capybara/rspec'

Capybara.server = :puma, { Silent: true }
6 changes: 5 additions & 1 deletion backend/spec/support/system_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require 'capybara/rspec'

Capybara.server = :puma, { Silent: true }

RSpec.configure do |config|
using = ENV['SYSTEM_TEST_DRIVEN_BY_USING']

Expand All @@ -13,7 +17,7 @@

m = Module.new {
private def chrome_driver?
Capybara.current_driver.to_s.include?('chrome')
page.driver.options.dig(:browser) == :chrome
end
}
RSpec.configure do |config|
Expand Down

0 comments on commit 39bc641

Please sign in to comment.