Chris Olsen
2007-Oct-15 17:32 UTC
[rspec-users] Spec::Rails::DSL::HelperEvalContextController: missing defau
Just created a new project and this is the error that I am getting when I try to run my rspec tests: Spec::Rails::DSL::HelperEvalContextController: missing default helper path spec/rails/dsl/helper_eval_context_helper Spec::Rails::DSL::ViewExampleController: missing default helper path spec/rails/dsl/view_example_helper [4;36;1mSQL (0.000138) [0;1mSET SQL_AUTO_IS_NULL=0 [4;35;1mSQL (0.000095) BEGIN [4;36;1mSite Columns (0.003708) [0;1mSHOW FIELDS FROM sites [4;35;1mSQL (0.000174) ROLLBACK Here is the portion for the test database from the database.yml file: test: adapter: mysql database: mydb_test username: root password: socket: /tmp/mysql.sock I have run the rake tmp:clear command (was mentioned by someone else with this same problem) Thanks for the help. -- Posted via http://www.ruby-forum.com/.
David Chelimsky
2007-Oct-15 17:42 UTC
[rspec-users] Spec::Rails::DSL::HelperEvalContextController: missing defau
On 10/15/07, Chris Olsen <lists at ruby-forum.com> wrote:> Just created a new project and this is the error that I am getting when > I try to run my rspec tests:Please just call them "specs" :) What command are you using here?> > Spec::Rails::DSL::HelperEvalContextController: missing default helper > path spec/rails/dsl/helper_eval_context_helper > Spec::Rails::DSL::ViewExampleController: missing default helper path > spec/rails/dsl/view_example_helper > [4;36;1mSQL (0.000138) [0m [0;1mSET SQL_AUTO_IS_NULL=0 [0m > [4;35;1mSQL (0.000095) [0m [0mBEGIN [0m > [4;36;1mSite Columns (0.003708) [0m [0;1mSHOW FIELDS FROM > sites [0m > [4;35;1mSQL (0.000174) [0m [0mROLLBACK [0m > > Here is the portion for the test database from the database.yml file: > test: > adapter: mysql > database: mydb_test > username: root > password: > socket: /tmp/mysql.sock > > I have run the rake tmp:clear command (was mentioned by someone else > with this same problem) > > Thanks for the help. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Chris Olsen
2007-Oct-15 18:02 UTC
[rspec-users] Spec::Rails::DSL::HelperEvalContextController: missing d
> Please just call them "specs" :)done> What command are you using here?it happens for both "rake spec" and autotest -- Posted via http://www.ruby-forum.com/.
Yury Kotlyarov
2007-Nov-19 14:04 UTC
[rspec-users] Spec::Rails::DSL::HelperEvalContextController: missing defau
got the same by running autotest. fixed by adding following files to rspec_on_rails: lib/spec/rails/example/helper_behaviour_helper.rb lib/spec/rails/example/view_example_helper.rb --Yury David Chelimsky wrote:> On 10/15/07, Chris Olsen <lists at ruby-forum.com> wrote: > >> Just created a new project and this is the error that I am getting when >> I try to run my rspec tests: >> > > Please just call them "specs" :) > > What command are you using here? > > >> Spec::Rails::DSL::HelperEvalContextController: missing default helper >> path spec/rails/dsl/helper_eval_context_helper >> Spec::Rails::DSL::ViewExampleController: missing default helper path >> spec/rails/dsl/view_example_helper >> [4;36;1mSQL (0.000138) [0m [0;1mSET SQL_AUTO_IS_NULL=0 [0m >> [4;35;1mSQL (0.000095) [0m [0mBEGIN [0m >> [4;36;1mSite Columns (0.003708) [0m [0;1mSHOW FIELDS FROM >> sites [0m >> [4;35;1mSQL (0.000174) [0m [0mROLLBACK [0m >> >> Here is the portion for the test database from the database.yml file: >> test: >> adapter: mysql >> database: mydb_test >> username: root >> password: >> socket: /tmp/mysql.sock >> >> I have run the rake tmp:clear command (was mentioned by someone else >> with this same problem) >> >> Thanks for the help. >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > >