Skip to content

Commit

Permalink
jquery example green
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarargs committed Oct 2, 2010
1 parent 7ef28b2 commit c7272cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions examples/jquery/spec/javascripts/TwitterApiSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("TwitterApi#search", function(){
onFailWhale: onFailWhale
});

request = mostRecentXhr();
request = mostRecentAjaxRequest();
});

it("calls Twitter with the correct url", function(){
Expand Down Expand Up @@ -49,7 +49,6 @@ describe("TwitterApi#search", function(){

describe('on failure', function(){
beforeEach(function(){
// simulateAjaxResponse(TestResponses.search.failure.status, TestResponses.search.failure.responseText, request);
request.response(TestResponses.search.failure);
});

Expand Down
11 changes: 8 additions & 3 deletions examples/jquery/spec/javascripts/support/jasmine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# - dist/**/*.js
#
src_files:
- public/javascripts/**/*.js
- frameworks/jquery.js
- examples/jquery/public/javascripts/**/*.js

# stylesheets
#
Expand All @@ -37,6 +38,8 @@ stylesheets:
# - helpers/**/*.js
#
helpers:
- lib/spec-helper.js
- examples/jquery/spec/javascripts/helpers/**/*.js

# spec_files
#
Expand All @@ -49,6 +52,8 @@ helpers:
# - **/*[sS]pec.js
#
spec_files:
- lib/mock-ajax.js
- examples/jquery/spec/javascripts/*.js

# src_dir
#
Expand All @@ -59,7 +64,7 @@ spec_files:
#
# src_dir: public
#
src_dir:
src_dir: ../..

# spec_dir
#
Expand All @@ -70,4 +75,4 @@ src_dir:
#
# spec_dir: spec/javascripts
#
spec_dir:
spec_dir: ../..

0 comments on commit c7272cc

Please sign in to comment.