This repository has been archived by the owner on Jun 8, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabe Berke-Williams
committed
Oct 22, 2011
1 parent
13469e2
commit 7ca5108
Showing
6 changed files
with
55 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
Given /^a new Rails application with Kumade$/ do | ||
run_simple("rails new rake-tasks") | ||
run_simple("rails new rake-tasks -T") | ||
cd('rake-tasks') | ||
append_to_file('Gemfile', "gem 'kumade', :path => '#{PROJECT_PATH}'") | ||
run_bundler | ||
set_up_git_repo | ||
end | ||
|
||
Given /^a new Rails application with Kumade and Jammit$/ do | ||
Given "a new Rails application with Kumade" | ||
add_jammit_to_gemfile | ||
run_bundler | ||
set_up_git_repo | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module GitHelpers | ||
def set_up_git_repo | ||
["git init", "touch .gitkeep", "git add .", "git commit -am First"].each do |git_command| | ||
run_simple(git_command) | ||
end | ||
end | ||
|
||
def commit_everything_in_repo | ||
['git add .', 'git commit -am MY_MESSAGE'].each do |git_command| | ||
run_simple(git_command) | ||
end | ||
end | ||
end | ||
|
||
World(GitHelpers) |