Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to minitest-capybara (fixes #2)
Defer to minitest-capybara for all the integration to Minitest. This means we now depend on minitest-matchers as well.
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,10 @@ | |||
require "minitest/rails" | require "minitest/rails" | ||
# Load minitest-matchers and fix Capybara::RSpecMatchers | |||
require "minitest-capybara" | |||
require "capybara/rails" | require "capybara/rails" | ||
|
|
||
class MiniTest::Rails::ActionDispatch::IntegrationTest | class MiniTest::Rails::ActionDispatch::IntegrationTest | ||
include Rails.application.routes.url_helpers | include Rails.application.routes.url_helpers | ||
include Capybara::RSpecMatchers | |||
include Capybara::DSL | include Capybara::DSL | ||
end | end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters