Add back acceptance tests for full page search
This commit is contained in:
@@ -78,6 +78,19 @@ export default function() {
|
||||
|
||||
this.get('/clicks/track', success);
|
||||
|
||||
this.get('/search', request => {
|
||||
if (request.queryParams.q === 'posts') {
|
||||
return response({
|
||||
posts: [{
|
||||
id: 1234
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
return response({});
|
||||
});
|
||||
|
||||
|
||||
this.put('/users/eviltrout', () => response({ user: {} }));
|
||||
|
||||
this.get("/t/280.json", () => response(fixturesByUrl['/t/280/1.json']));
|
||||
|
||||
Reference in New Issue
Block a user