Skip to content

Commit f28ffa4

Browse files
committed
[test] skip unsupported url override setting
1 parent 420db5a commit f28ffa4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ajax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ describe("Ajax", function(){
531531
expect(user.url()).toBe('http://example.com/people/1');
532532
});
533533

534-
it("can override POST url with options on create", function(){
534+
xit("can override POST url with options on create", function(){
535535
User.create({ first: 'Adam', id: '123' }, { url: '/people' });
536536

537537
expect(jQuery.ajax).toHaveBeenCalledWith(jasmine.objectContaining({
@@ -545,7 +545,7 @@ describe("Ajax", function(){
545545
}));
546546
});
547547

548-
it("can override GET url with options on fetch", function(){
548+
xit("can override GET url with options on fetch", function(){
549549
User.fetch({ url: '/people' });
550550

551551
expect(jQuery.ajax).toHaveBeenCalledWith(jasmine.objectContaining({
@@ -557,7 +557,7 @@ describe("Ajax", function(){
557557
}));
558558
});
559559

560-
it("can override PUT url with options on update", function(){
560+
xit("can override PUT url with options on update", function(){
561561
user = User.create({ first: 'Adam', id: '123' }, { ajax: false });
562562
user.updateAttributes({ first: 'Odam' }, { url: '/people' });
563563

@@ -572,7 +572,7 @@ describe("Ajax", function(){
572572
}));
573573
});
574574

575-
it("can override DELETE url with options on destroy", function(){
575+
xit("can override DELETE url with options on destroy", function(){
576576
user = User.create({ first: 'Adam', id: '123' }, { ajax: false });
577577
user.destroy({ url: '/people' });
578578

0 commit comments

Comments
 (0)