Linking Issues and DMSF Documents #48 - tagging
This commit is contained in:
parent
4dbf6cc487
commit
4483cfcf42
2
test/fixtures/custom_fields.yml
vendored
2
test/fixtures/custom_fields.yml
vendored
@ -26,7 +26,7 @@ cf_1:
|
||||
max_length: 0
|
||||
possible_values:
|
||||
- User documentation
|
||||
- Technical docuemntation
|
||||
- Technical documentation
|
||||
id: 21
|
||||
is_required: false
|
||||
field_format: list
|
||||
|
||||
@ -186,6 +186,14 @@ class DmsfControllerTest < RedmineDmsf::Test::TestCase
|
||||
assert_select 'tr.dmsf_tree', :count => 0
|
||||
end
|
||||
|
||||
def test_show_tag
|
||||
@role.add_permission! :view_dmsf_files
|
||||
@role.add_permission! :view_dmsf_folders
|
||||
get :show, :id => @project.id, :custom_field_id => 21, :custom_value => 'Technical documentation'
|
||||
assert_response :success
|
||||
assert_select 'tr.dmsf_tree', :count => 0
|
||||
end
|
||||
|
||||
def test_show_tree_view
|
||||
@role.add_permission! :view_dmsf_files
|
||||
@role.add_permission! :view_dmsf_folders
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user