search for: run_local_story

Displaying 3 results from an estimated 3 matches for "run_local_story".

2008 Oct 06
10
Uninitialized constant Spec:Story
Hi, I''m fairly new to Rails and v. new to RSpec. Think it looks pretty useful and so I''m trying it out for the first time. I have installed the rspec-rails gem and created a simple plain text my_story file and my_story.rb file along the lines described here - http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app. When I run
2008 Jan 16
1
session data and user stories
...quot; => {}} end #and this is just hideous. Then("I should be sent to the dealer landing page") do puts @session.response.instance_variable_get("@redirected_to").should == {:controller => "dealers"} end end with_steps_for(:dealer_login) do run_local_story "dealer_story", :type=>RailsStory end there is a good chance someone has already covered this and i have just managed to miss it. documentation on rbehave is sparse (at best, as i have seen it. i have the peepcode, but if anyone has any other good resources i would be more than apprec...
2008 May 30
4
RSpec Post/Get and Sessions in a Story
I''ve got an RSpec story that reads like: ------------------------------------------------------------------- Given that a post exists And I am logged in And I have edit permissions When I visit the post details page Then there should be a link to add a new comment ------------------------------------------------------------------- The issue I''m having is that I can''t