Sha256: c69db5218d2a2ac6cf942984c09c9ed71b04b3b84af4bdb1793234ce626b981c
Contents?: true
Size: 628 Bytes
Versions: 21
Compression:
Stored size: 628 Bytes
Contents
shared_examples_for "configurable daemon settings" do |type, form_name, form_value| it "Shown form with filled in td.*.* on match" do visit send("daemon_setting_#{type}_path") page.should have_css("input[name=\"fluentd_setting_#{type}[#{form_name}]\"]") end it "Updated config after submit" do daemon.agent.config.should_not include(form_value) visit send("daemon_setting_#{type}_path") within("#new_fluentd_setting_#{type}") do fill_in form_name.capitalize, with: form_value end click_button I18n.t("fluentd.common.finish") daemon.agent.config.should include(form_value) end end
Version data entries
21 entries across 21 versions & 1 rubygems