Closed mikej closed 7 years ago
What version of rails are you using? Spec was not the default for rails 4, but it is the default for rails 5. Compare the README in master to the README in the 2.x branch.
Thanks for taking a look at this, and sorry for the confusion. This is on a Rails 5 app.
After adding
gem "minitest-rails-capybara"
to the Gemfile the versions picked up are:
minitest-rails-capybara (3.0.0)
capybara (~> 2.7)
minitest-capybara (~> 0.8)
minitest-metadata (~> 0.6)
minitest-rails (~> 3.0)
Is the 2.x branch is an older version and master is for the 3.0 release?
Was just trying to figure out the behaviour based on this code.
Maybe just the line "Which will generate a feature test using the Capybara spec DSL" needs updating on the master version as it now prefixes the non-DSL example?
Thanks!
3.0.1 fixes the bug in the spec configuration. Closing.
Hi!
Just been adding
minitest-rails-capybara
to a project. Am I right that the default forrails generate minitest:feature
is now to generate tests that don't use Capybara's spec DSL?and that
--spec
needs to be specified to generate a test usingfeature
andscenario
?If so the README just needed reordering slightly.. so this should be up to date now.