Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
buildgem / features / step_definitions / commit_steps.rb
Size: Mime:
Then(/^the last commit should read "(.*?)"$/) do |msg|
  commit_log        = `cd #{$gem_home} && git log`
  latest_commit_msg = commit_log.match(/\n\n\s+(.+)\n/) { |m| m[1] }

  latest_commit_msg.should == msg
end