mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
ce8bfb409b
This commit applies the changes from running `standardrb --fix`
11 lines
370 B
Ruby
11 lines
370 B
Ruby
When(/^I run `([^"]+)` with a clean environment$/) do |command|
|
|
step <<~STEP
|
|
I successfully run `ruby -e 'system({"BUNDLE_GEMFILE" => nil, "DISABLE_SPRING" => "true"}, "#{command}")'`
|
|
STEP
|
|
end
|
|
|
|
When(/^I run `([^"]+)` with Spring enabled$/) do |command|
|
|
step <<~STEP
|
|
I successfully run `ruby -e 'system({"BUNDLE_GEMFILE" => nil}, "#{command}")'`
|
|
STEP
|
|
end
|