features/step_definitions/git_steps.rb in stove-1.0.1 vs features/step_definitions/git_steps.rb in stove-1.1.0

- old
+ new

@@ -1,4 +1,12 @@ +Given /^the remote repository has additional commits/ do + Dir.chdir(fake_git_remote) do + shellout 'touch myfile.txt' + git 'add myfile.txt' + git 'commit -m "Add a new file"' + end +end + Then /^the git remote will( not)? have the commit "(.+)"$/ do |negate, message| commits = git_commits(fake_git_remote) if negate expect(commits).to_not include(message)