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