Fix a failing test.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@671 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-12-03 03:41:07 +00:00
parent 8c7afc4c32
commit 1d8a9c877b

View file

@ -77,7 +77,7 @@ class TodosHelperTest < Test::Rails::HelperTestCase
assert_equal 1, behaviors[:rules].length
rule = behaviors[:rules][0]
assert_equal ".item-container a.star_item:click", rule[0]
assert_equal "new Ajax.Request(this.href, {asynchronous:true, evalScripts:true, method:'put', parameters:{ _source_view : '' }}); return false;",
assert_equal "new Ajax.Request(this.href, {asynchronous:true, evalScripts:true, method:'put', parameters:{ _source_view : '' }})\n; return false;",
rule[1]
end
end