mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
7 lines
269 B
Ruby
7 lines
269 B
Ruby
When /^I add "([^"]+)" from this project as a dependency$/ do |gem_name|
|
|
append_to_file('Gemfile', %{gem "#{gem_name}", :path => "#{PROJECT_ROOT}"\n})
|
|
end
|
|
|
|
When /^I add "([^"]+)" as a dependency$/ do |gem_name|
|
|
append_to_file('Gemfile', %{gem "#{gem_name}"\n})
|
|
end
|