Skip to content

Instantly share code, notes, and snippets.

@jbsmith86
Last active January 3, 2016 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbsmith86/8441606 to your computer and use it in GitHub Desktop.
Save jbsmith86/8441606 to your computer and use it in GitHub Desktop.
Minitest Rails Setup Instructions
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