Skip to content

Commit

Permalink
swap around the url assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Apr 16, 2012
1 parent f940de1 commit 28405d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/javascripts/models/build_spec.js
Expand Up @@ -10,7 +10,7 @@ describe('Build', function() {
describe('pullRequestsByRepositoryId', function() {
it('requests GET /repositories.json', function() {
Travis.Build.pullRequestsByRepositoryId(1);
expect(mostRecentAjaxRequest().url).toEqual('/repositories/1/builds.json?event_type=pull_requests&bare=true');
expect(mostRecentAjaxRequest().url).toEqual('/repositories/1/builds.json?bare=true&event_type=pull_requests');
});
});

Expand Down

0 comments on commit 28405d1

Please sign in to comment.