Aslak Hellesøy wrote:
> And please link to this thread in the ticket. Nabble or somesuch.
I am sorry for taking so long to post the ticket:
http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/144-call-multiline-steps-from-other-steps
--
Posted via http://www.ruby-forum.com/.
_
Ooh interesting stuff thanks for that Ben, never got past the scenario
tables until now :)
Andrew
2008/12/5 Ben Mabey <[EMAIL PROTECTED]>
> Andrew Premdas wrote:
>
>> Given /^I have filled in the form$/ do |details|
>> details.hashes.each |pair|
>>
>> Can't see this working because you've got n
And please link to this thread in the ticket. Nabble or somesuch.
Ben Mabey wrote:
you will just have to
experiment and see.
Thanks for the reply!
So far all my experiments have failed :/
Anyone else have any ideas?
Paul
--
Posted via http://www.ruby-forum.com/.
_
Ben Mabey wrote:
you will just have to
experiment and see.
Thanks for the reply!
So far all my experiments have failed :/
Anyone else have any ideas?
Not possible yet. Please file a ticket.
Paul
--
Posted via http://www.ruby-forum.com/.
___
r
Andrew Premdas wrote:
Given /^I have filled in the form$/ do |details|
details.hashes.each |pair|
Can't see this working because you've got no place to collect details
However
Given /^I have filled in the form with (.*)$/ do |details|
details.hashes.each |pair|
would work, but you'd have to
Given /^I have filled in the form$/ do |details|
details.hashes.each |pair|
Can't see this working because you've got no place to collect details
However
Given /^I have filled in the form with (.*)$/ do |details|
details.hashes.each |pair|
would work, but you'd have to do some tricky stuff to
Ben Mabey wrote:
> you will just have to
> experiment and see.
Thanks for the reply!
So far all my experiments have failed :/
Anyone else have any ideas?
Paul
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge
Pau Cor wrote:
What is the syntax for calling multiline steps from other steps? I'd
like to do something like this:
Given /^I have filled in the form$/ do |details|
details.hashes.each |pair|
When "I fill in #{pair['field']} with #{pair['value']}"
end
end
Yes, you can do this.
Give