Zach Dennis wrote:
> That would be very difficult to do and to do well (with autotest or
> RSpactor) since stories cover a complete vertical slice of the
> application, and it'd be almost impossible to know what source file
> (or method) affect will what stories.
Sure, I agree, but I think it woul
Kamal Fariz wrote:
>
> Can Story Runner run a specific scenario in a story? Like how Spec
> Runner can just execute a particular example.
>
I realize this question is a little old, but I have exactly the same
need.
The only solution I have is trying to build much smaller stories so that
the
Willem van den Ende wrote:
> Hi Ben,
>
> This is probably not an rspec issue, but a rails defect
> ( http://dev.rubyonrails.org/ticket/10896 ).
>
>>From your code, I am assuming you are story testing a Rails app. I was
> bitten by this too recently... Took me a while to figure it out. The
> worka
I have a story that executes the following (as an example to show the
bug I'm experiencing):
--
Given "I have a fake post saved" do
@postCount = Post.find(:all).length
@post = Post.new
@post.employee_id = 123
@post.name = "Name of th
Ben Mabey wrote:
>
> I don't have time to parse your entire post or send a lengthy reply.
> However, this blog post walks through how to do exactly what you are
> attempting:
> >http://www.glennfu.com/2008/03/31/easy-plaintext-stories-in-ruby-on-rails-using-webrat/
I wrote the login "Given" claus
I've been slamming my head against a wall for a while now, and would
like some help. I believe this is session related.
I have a story that looks like:
--
Given that a post exists
And I am logged in
When I visit the post details page