Adds small test to preserve the default value
The default value for folder_id is implicitly checked by expecting no exception to be raised.
This commit is contained in:
parent
3edf629389
commit
eb291db7b0
@ -31,4 +31,11 @@ class DmsfLinksHelperTest < RedmineDmsf::Test::HelperTest
|
||||
assert_not DmsfLinksHelper.number?('123a')
|
||||
assert_not DmsfLinksHelper.number?(nil)
|
||||
end
|
||||
|
||||
def test_default_folder_id_in_files_for_select
|
||||
project = Project.find(1)
|
||||
assert_nothing_raised do
|
||||
files_for_select(project.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user