mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-15 05:38:52 +01:00
harmonizing todo_tag_list and tag_list, using just the shorter tag_list
This commit is contained in:
parent
89f96da623
commit
51da342cdc
10 changed files with 22 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue