Patch #33453 » test-for-33453.patch
| test/functional/settings_controller_test.rb | ||
|---|---|---|
|
get :plugin, :params => {:id => 'foo'}
|
||
|
assert_response :success
|
||
|
assert_select 'form[action="/settings/plugin/foo"]' do
|
||
|
assert_select 'input[name=?][value=?]', 'settings[sample_setting]', 'Plugin setting value'
|
||
|
assert_select '#settings.plugin.plugin-foo' do
|
||
|
assert_select 'form[action="/settings/plugin/foo"]' do
|
||
|
assert_select 'input[name=?][value=?]', 'settings[sample_setting]', 'Plugin setting value'
|
||
|
end
|
||
|
end
|
||
|
ensure
|
||
|
Redmine::Plugin.unregister(:foo)
|
||
- « Previous
- 1
- 2
- Next »