Sha256: d5b918b750c2f21d6763b98e24af0159894096eff9d395628bf20573c5ce077a

Contents?: true

Size: 265 Bytes

Versions: 5

Compression:

Stored size: 265 Bytes

Contents

When /^I create a new alpha named (\w+)$/ do |name|
  Alpha.create!(:name => name, :value => 101)
end

When /^I change the (\w+) of alpha (\w+) to (\w+)$/ do |column, name, replacement|
  Alpha.find_by_name(name).update_attributes(column.to_sym => replacement)
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
thinking-sphinx-1.3.9 features/step_definitions/alpha_steps.rb
ts-xml-0.0.1 features/step_definitions/alpha_steps.rb
thinking-sphinx-1.3.8 features/step_definitions/alpha_steps.rb
thinking-sphinx-1.3.7 features/step_definitions/alpha_steps.rb
thinking-sphinx-1.3.6 features/step_definitions/alpha_steps.rb