Problem using Ruby On Rails with rspec to write user stories

Hej out there,

i'm a newbie on ror and im trying to install rspec on my computer. I installed rspec an rspec-rails via gem.

when i'm running the file script/generate rspec it works. but i have no folder called stories.... how can i fix this problem? thanks...

hope to get some help;)

sebastianzillessen wrote:

Hej out there,

i'm a newbie on ror and im trying to install rspec on my computer. I installed rspec an rspec-rails via gem.

when i'm running the file script/generate rspec it works. but i have no folder called stories.... how can i fix this problem?

There's no problem -- you're just looking at old documentation! The story runner was removed from RSpec some time ago and renamed Cucumber. See http://www.rspec.info and http://cukes.info for current docs.

thanks...

hope to get some help;)

Best,

you will get spec/ from rspec and /features with cucumber.

Don;t forget to install Cucumber and boostrap it. Your stories will go in /features and your steps in /spec.

hope that helps.

-Ants