Commit fe44ce0a9a630dec996133d5f725cfcd674686b1
1 parent
4f75213c
Exists in
master
and in
1 other branch
Fixed failing GithubIssuesTracker spec (API change)
Showing
1 changed file
with
10 additions
and
12 deletions
Show diff stats
spec/models/issue_trackers/github_issues_tracker_spec.rb
| ... | ... | @@ -10,18 +10,16 @@ describe IssueTrackers::GithubIssuesTracker do |
| 10 | 10 | @issue_link = "https://github.com/#{tracker.project_id}/issues/#{number}" |
| 11 | 11 | body = <<EOF |
| 12 | 12 | { |
| 13 | - "issue": { | |
| 14 | - "position": 1.0, | |
| 15 | - "number": #{number}, | |
| 16 | - "votes": 0, | |
| 17 | - "created_at": "2010/01/21 13:45:59 -0800", | |
| 18 | - "comments": 0, | |
| 19 | - "body": "Test Body", | |
| 20 | - "title": "Test Issue", | |
| 21 | - "user": "test_user", | |
| 22 | - "state": "open", | |
| 23 | - "html_url": "#{@issue_link}" | |
| 24 | - } | |
| 13 | + "position": 1.0, | |
| 14 | + "number": #{number}, | |
| 15 | + "votes": 0, | |
| 16 | + "created_at": "2010/01/21 13:45:59 -0800", | |
| 17 | + "comments": 0, | |
| 18 | + "body": "Test Body", | |
| 19 | + "title": "Test Issue", | |
| 20 | + "user": "test_user", | |
| 21 | + "state": "open", | |
| 22 | + "html_url": "#{@issue_link}" | |
| 25 | 23 | } |
| 26 | 24 | EOF |
| 27 | 25 | ... | ... |