Sha256: b70d7c1caf5d083e2c08459bab27889832f287a7936dd7af0cd7cb31859cffc3
Contents?: true
Size: 278 Bytes
Versions: 2
Compression:
Stored size: 278 Bytes
Contents
Then /^my presenter should present "([^"]*)" from my model$/ do |field_name| @presenter.send(field_name).should == @model.send(field_name) end Then /^my presenter should present "([^"]*)" as "([^"]*)"$/ do |field_name,value| @presenter.send(field_name).should == value end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
catwalk-0.0.3 | features/step_definitions/presenter_field_steps.rb |
catwalk-0.0.2 | features/step_definitions/presenter_field_steps.rb |