Displaying 3 results from an estimated 3 matches for "tomtenthij".
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 stories/my_story.rb it blows up and the thing that seems most
significant in the error messages is "uninitialized constant Spec::Story
(NameError)" which seems to originate from story_adapter.rb:66, where
t...
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
2008 Jul 11
4
how to debug using rspec stories
Hello. I just started to use rspec stories. I followed the following
tutorial:
http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app
So I implemented my story and some of the steps are:
(...)
When "user creates a product" do
post "products/new", :name => @name
end
Then "there should be a product named ''$name'...