[rspec-users] Spec::Rails::DSL::HelperEvalContextController: missing defau
Yury Kotlyarov
yura at brainhouse.ru
Mon Nov 19 09:04:42 EST 2007
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
>
>
More information about the rspec-users
mailing list