mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 10:06:04 +10:00
Feed a JiraIssue to JiraService in its spec
This commit is contained in:
@@ -50,7 +50,7 @@ describe JiraService, models: true do
|
||||
end
|
||||
|
||||
it "should call JIRA API" do
|
||||
@jira_service.execute(@sample_data, "JIRA-123")
|
||||
@jira_service.execute(@sample_data, JiraIssue.new("JIRA-123"))
|
||||
WebMock.should have_requested(:post, @api_url).with(
|
||||
body: /Issue solved with/
|
||||
).once
|
||||
|
||||
Reference in New Issue
Block a user