On Nov 15, 2007 12:30 PM, David Chelimsky <[EMAIL PROTECTED]> 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.

David,

Thanks for the info. Any directions you can point me to make :

ruby stories/all.rb

work? I think I am missing some require there. It is the stock one from trunk.

Thanks
Ed
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to