Last active
January 3, 2016 09:19
-
-
Save jbsmith86/8441606 to your computer and use it in GitHub Desktop.
Minitest Rails Setup Instructions
This file contains hidden or 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
Gemfile add: | |
group :test do | |
gem 'minitest-rails-capybara' | |
end | |
gem 'minitest-rails' | |
bundle | |
rails generate mini_test:install | |
rails generate mini_test:feature NameOfTest | |
test_helper.rb add: | |
require 'minitest/rails/capybara' | |
Rakefile add: | |
MiniTest::Rails::Testing.default_tasks << "features" | |
rake db:migrate | |
rake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment