[rspec-users] first try to make a controller test with RSpe

tgateau at seethroo.us tgateau at seethroo.us
Wed Aug 13 16:16:20 EDT 2008


Bug fixed ! thank you very much !

> Hello,
>
> Try including your rails config/environment.rb file in your spec_helper:
>
> spec_helper.rb
> ----
> ENV["RAILS_ENV"] = "test"
> require "/../config/environment"
> ----
>
> --
> Joseph Wilk
> http://www.joesniff.co.uk
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>



More information about the rspec-users mailing list