File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -83,26 +83,6 @@ module('Unit | Adapter | osf-adapter', hooks => {
83
83
assert . equal ( url , result ) ;
84
84
} ) ;
85
85
86
- test ( '#buildURL uses snapshot.adapterOptions.url if available' , function ( assert ) {
87
- const url = 'http://localhost:8000/v2/users/me/rel/' ;
88
- const adapter = this . owner . lookup ( 'adapter:osf-adapter' ) ;
89
- const user = FactoryGuy . make ( 'user' , {
90
- links : null ,
91
- } ) ;
92
-
93
- const result = adapter . buildURL (
94
- 'user' ,
95
- 'me' ,
96
- user . _internalModel . createSnapshot ( {
97
- adapterOptions : {
98
- url,
99
- } ,
100
- } ) ,
101
- 'createRecord' ,
102
- ) ;
103
- assert . equal ( url , result ) ;
104
- } ) ;
105
-
106
86
test ( '#ajaxOptions adds bulk contentType if request is bulk' , function ( assert ) {
107
87
const adapter = this . owner . lookup ( 'adapter:osf-adapter' ) ;
108
88
const opts = adapter . ajaxOptions ( null , null , {
You can’t perform that action at this time.
0 commit comments