spec/issue_spec.rb in gitmine-0.1.5 vs spec/issue_spec.rb in gitmine-0.1.6
- old
+ new
@@ -6,15 +6,9 @@
it "should have an #{a}" do
issue.should respond_to a
end
end
- describe "#config" do
- it "should load the config from config.yml" do
- Gitmine::Issue.config.should == {"host"=>"http://redmine-gitmine.heroku.com", "github" => "pcreux/gitmine"}
- end
- end
-
describe "#get_for_commit" do
it "should parse the commit message to find a commit_id and call #get" do
commit_msg = 'A commit msg Issue #123'
Gitmine::Issue.should_receive(:parse_for_issue_id).with(commit_msg)
Gitmine::Issue.get_for_commit(commit_msg)