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 870bf2a2f4 Run standard on CI
To ensure we run standard before merging any PR, this commit adds
standard to Travis CI
2020-06-10 17:13:56 -04:00

16 lines
420 B
Ruby

require "bundler/setup"
require "cucumber/rake/task"
require "rspec/core/rake_task"
require "standard/rake"
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 and standard"
task default: %w[spec cucumber standard]