diff options
| author | Phil Crosby | 2012-06-02 20:21:23 -0700 |
|---|---|---|
| committer | Phil Crosby | 2012-06-03 16:52:32 -0700 |
| commit | 2cbb4961ce60d75c1535ad65ede5ca74db254cb3 (patch) | |
| tree | be54f31c4d1dd4841bfeb462cb0b0e6d7c51fe27 /tests | |
| parent | e7f75e2c6add8048beb1f4dd2703766f016497bd (diff) | |
| download | vimium-2cbb4961ce60d75c1535ad65ede5ca74db254cb3.tar.bz2 | |
Remove "action" from Suggestion. That level of genercism isn't needed atm.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/completion_test.coffee | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/completion_test.coffee b/tests/completion_test.coffee index eb833ecf..b79eae98 100644 --- a/tests/completion_test.coffee +++ b/tests/completion_test.coffee @@ -39,15 +39,15 @@ context "history completer", context "suggestions", should "escape html in page titles", -> - suggestion = new Suggestion(["queryterm"], "tab", "url", "title <span>", "action") + suggestion = new Suggestion(["queryterm"], "tab", "url", "title <span>") assert.isTrue suggestion.generateHtml().indexOf("title <span>") >= 0 should "highlight query words", -> - suggestion = new Suggestion(["ninja"], "tab", "url", "ninjawords", "action") + suggestion = new Suggestion(["ninja"], "tab", "url", "ninjawords") assert.isTrue suggestion.generateHtml().indexOf("<span class='match'>ninja</span>words") >= 0 should "shorten urls", -> - suggestion = new Suggestion(["queryterm"], "tab", "http://ninjawords.com", "ninjawords", "action") + suggestion = new Suggestion(["queryterm"], "tab", "http://ninjawords.com", "ninjawords") assert.equal -1, suggestion.generateHtml().indexOf("http://ninjawords.com") Tests.run()
\ No newline at end of file |
