[rspec-users] What command to run all stories?
ed.howland at gmail.com
Thu Nov 15 14:00:58 EST 2007
On Nov 15, 2007 12:30 PM, David Chelimsky <dchelimsky at gmail.com> wrote:
> > ENV["RAILS_ENV"] = "test"
> > require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
> > require 'spec/rails/story_adapter'
> > Dir[File.join(File.dirname(__FILE__), "steps/*.rb")].each do |file|
> > require file
> > end
> > I personally think that steps should be isolated from other stories.
> > This seems to requre all steps in every story.
> It requires them all but doesn't expose them all in your story. Agreed
> that each story should be limited in what it sees.
Thanks for the info. Any directions you can point me to make :
work? I think I am missing some require there. It is the stock one from trunk.
More information about the rspec-users