FIX: remove bookmark from user stream

This commit is contained in:
Régis Hanol
2015-08-05 12:40:43 +02:00
parent aef575aad0
commit b8c8348e5b
5 changed files with 19 additions and 14 deletions

View File

@ -0,0 +1,13 @@
module("adapter:topic-list");
import { finderFor } from 'discourse/adapters/topic-list';
test("finderFor", function() {
// Mocking instead of using a pretender which decodes the path and thus does
// not reflect the behavior of an actual web server.
var mock = sandbox.mock(Discourse);
mock.expects("ajax").withArgs("/search.json?q=test%25%25");
var finderForFunction = finderFor('search', { q: "test%%" });
finderForFunction();
mock.verify();
});