Sha256: 86d02a0f9b9240cb5d49424465cdd3ab183b022ec5344d4c243790c8f9b0609a
Contents?: true
Size: 386 Bytes
Versions: 17
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' describe "CommitMsgToIssueId" do describe "#parse" do [ ['Commit message Issue #123.', '123'], ['Commit message #123.', nil], ['Add method #yey Commit message Issue #123.', '123'] ].each do |msg, id| it "should return #{id} for '#{msg}'" do Gitmine::Issue.parse_for_issue_id(msg).should == id end end end end
Version data entries
17 entries across 17 versions & 1 rubygems