Sha256: a205295e8518d7bbfe2b77c27743142d676673e1537af15c872d71862ab4fd53

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

Given /^I have no (?:|refinery )settings$/ do
  RefinerySetting.delete_all
end

Given /^I (only )?have a (?:|refinery )setting titled "([^"]*)"$/ do |only, title|
  RefinerySetting.delete_all if only

  RefinerySetting.set(title.to_s.gsub(' ', '').underscore.to_sym, nil)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-0.9.8.9 vendor/refinerycms/settings/features/step_definitions/setting_steps.rb
refinerycms-0.9.8.8 vendor/refinerycms/settings/features/step_definitions/setting_steps.rb
refinerycms-0.9.8.7 vendor/refinerycms/settings/features/step_definitions/setting_steps.rb
refinerycms-0.9.8.6 vendor/refinerycms/settings/features/step_definitions/setting_steps.rb
refinerycms-0.9.8.5 vendor/refinerycms/settings/features/step_definitions/setting_steps.rb