1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/Rakefile
Daniel Colson ba7f5ef327 Update Appraisals
Get rid of the deprecated appraisal rake tasks in favor of running
appraisal directly. To run the whole suite, we can run
`bundle exec appraisal rake`.

I also went ahead and updated all the gemfiles.
2018-10-31 16:22:15 -04:00

15 lines
374 B
Ruby

require "bundler/setup"
require "cucumber/rake/task"
require "rspec/core/rake_task"
Bundler::GemHelper.install_tasks name: "factory_bot_rails"
Cucumber::Rake::Task.new(:cucumber) do |t|
t.fork = true
t.cucumber_opts = ["--format", (ENV["CUCUMBER_FORMAT"] || "progress")]
end
RSpec::Core::RakeTask.new(:spec)
desc "Run the test suite"
task default: %w(spec cucumber)