Hi,
I just install rspec (and rspec-rails) from git and tried to write a
user story, its all good but the output lacks the parameters i used.
Here''s an example of what is happening
=== RSPEC FILE stories/example.rb ==Story "A story", %{
As a user
I want to do something
So I can have some benefit
}, :type => RailsStory do
Scenario "Rspec Example" do
Given "A parameterized story called", "story name" do
|name|
end
end
end
==== OUTPUT ==> ruby stories/all.rb
Running 1 scenario
Story: A story
As a user
I want to do something
So I can have some benefit
Scenario: Rspec Example
Given A parameterized story called
==============Notice the last line? Anyone know whats happening here?
--
Posted via http://www.ruby-forum.com/.