2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Add the integration test for search back using a fixture.

This commit is contained in:
Robin Ward 2014-09-03 13:43:26 -04:00
parent e9600d7cb1
commit a71640c15f
3 changed files with 6 additions and 10 deletions

View file

@ -38,10 +38,6 @@ export default function() {
return [200, {"Content-Type": "text/html"}, "<div class='page-not-found'>not found</div>"];
});
this.get("/search", function() {
return response([ { type: "topic", more: true, results: [ { url: "some-url" } ] } ]);
});
this.get('/draft.json', function() {
return response({});
});