Commit c5387bf1d54fd483ed86d658a9e9b53623557e6b
1 parent
fe44ce0a
Exists in
master
and in
1 other branch
Removed header test in GithubTrackerObserver, since they're different for 1.8.7
No User-Agent: 'Ruby' is present in 1.8.7. (Fixed from my iPhone)
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
spec/models/issue_trackers/github_issues_tracker_spec.rb
@@ -30,7 +30,6 @@ EOF | @@ -30,7 +30,6 @@ EOF | ||
30 | problem.reload | 30 | problem.reload |
31 | 31 | ||
32 | requested = have_requested(:post, "https://#{tracker.username}:#{tracker.password}@api.github.com/repos/#{tracker.project_id}/issues") | 32 | requested = have_requested(:post, "https://#{tracker.username}:#{tracker.password}@api.github.com/repos/#{tracker.project_id}/issues") |
33 | - WebMock.should requested.with(:headers => {'Accept'=>'*/*', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}) | ||
34 | WebMock.should requested.with(:body => /[production][foo#bar] FooError: Too Much Bar/) | 33 | WebMock.should requested.with(:body => /[production][foo#bar] FooError: Too Much Bar/) |
35 | WebMock.should requested.with(:body => /See this exception on Errbit/) | 34 | WebMock.should requested.with(:body => /See this exception on Errbit/) |
36 | 35 |