Sha256: e14276c8f838260e9c902ef8b239838badc7a17e121ccc316c6bba0af37e3d5f

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

Given "I have a hash:" do |code|
  define_hash code
end

Given "I build my form using the macro:" do |code|
  run_test code
end

When "I build my form from the hash:" do |code|
  run_test code
end

Then /^my form should have a ([\w_]+) of "(.*)"$/ do |field_name,field_data|
  access("@form").send(field_name).should == field_data
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pr-1.0.0 features/step_definitions/hash_steps.rb
pr-0.0.7 features/step_definitions/hash_steps.rb
pr-0.0.6 features/step_definitions/hash_steps.rb
pr-0.0.5 features/step_definitions/hash_steps.rb
pr-0.0.4 features/step_definitions/hash_steps.rb
pr-0.0.3 features/step_definitions/hash_steps.rb
pr-0.0.2 features/step_definitions/hash_steps.rb