Sha256: d8280035e584828e4d0997377a6aadb0658170829dd53709977db22d7a649a75

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

require 'aruba/cucumber'

When /^I add the "([^"]*)" gem$/ do |gem_name|
  append_to_file('Gemfile', %{\ngem "#{gem_name}"\n})
end

When /^I add the "([^"]*)" gem from this project$/ do |gem_name|
  append_to_file('Gemfile', %{\ngem "#{gem_name}", :path => "../../.."\n})
end

When /^I add the "([^"]*)" gem from git "([^"]*)"(?: on branch "([^"]*)")?$/ do |gem_name, git, branch|
  append_to_file('Gemfile', %{\ngem "#{gem_name}", :git => "#{git}"#{ %{, :branch => "#{branch}"} if branch}})
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
diesel-0.1.5 lib/diesel/testing/integration.rb