spec/spec.jquery.js in visionmedia-jspec-2.8.4 vs spec/spec.jquery.js in visionmedia-jspec-2.9.0
- old
+ new
@@ -18,19 +18,19 @@
end
end
describe 'async'
it 'should load mah cookies (textfile)'
- $.post('async', function(text){
+ $.get('async', function(text){
text.should_eql 'cookies!'
})
end
it 'should load mah cookies twice (ensure multiple async requests work)'
- $.post('async', function(text){
+ $.get('async', function(text){
text.should.eql 'cookies!'
})
- $.post('async', function(text){
+ $.get('async', function(text){
text.should.not.eql 'rawr'
})
end
end
\ No newline at end of file