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

Version Path
fluentd-ui-1.0.0.alpha.3 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-1.0.0.alpha.2 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-1.0.0.alpha.1 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.5 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.4 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.3 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.2 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.1 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.4.0 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.21 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.20 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.19 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.18 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.17 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.16 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.15 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.14 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.13 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.12 spec/features/shared_examples/configurable_daemon_settings.rb
fluentd-ui-0.3.11 spec/features/shared_examples/configurable_daemon_settings.rb