harmonizing todo_tag_list and tag_list, using just the shorter tag_list

This commit is contained in:
tim madden 2012-05-10 13:53:01 -05:00
parent 89f96da623
commit 51da342cdc
10 changed files with 22 additions and 23 deletions

View file

@ -34,7 +34,7 @@ class TodoCreateParamsHelperTest < ActiveSupport::TestCase
end
def test_tag_list_accessor
params = { 'todo' => { }, 'todo_tag_list' => 'foo, bar'}
params = { 'todo' => { }, 'tag_list' => 'foo, bar'}
prefs = users(:admin_user).prefs
params_helper = TodosController::TodoCreateParamsHelper.new(params, prefs)
assert_equal('foo, bar', params_helper.tag_list)
@ -133,4 +133,4 @@ class TodoCreateParamsHelperTest < ActiveSupport::TestCase
assert_equal false, params_helper.context_specified_by_name?
end
end
end