search for: viewexamplecontroller

Displaying 4 results from an estimated 4 matches for "viewexamplecontroller".

2007 Oct 15
3
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...
2007 Jul 06
3
stubbing helper methods for View specs
...ethod that queries some roles. When I stub the methods above and run specs, I get the following error: ActionView::TemplateError in ''/users/show should display the information of the user'' undefined local variable or method `current_user'' for #<Spec::Rails::DSL::ViewExampleController:0x35d5cc0> On line #59 of app/views/users/show.haml 56: - @user.roles.each do |role| 57: = role.title 58: 59: - restrict_to "admin | projektleiter" do 60: = link_to "Bearbeiten", edit_user_url(@user) app/views//users/show.haml:59...
2007 Aug 11
2
Rspec and acl_system2 plugin
...ipt/spec spec/views/layouts/admin.rhtml_spec.rb'', I''ve got the following error message : ActionView::TemplateError in ''Layout Admin if admin user should display the admin tabs'' undefined local variable or method `current_user'' for #<Spec::Rails::DSL::ViewExampleController:0x3076d88> On line #28 of app/views/layouts/admin.rhtml 25: <ul> 26: <li> /articles Publications </li> 27: </ul> 28: <% restrict_to "admin" do -%> 29: <ul id="admin-tabs"> 30: <li>...
2007 May 29
4
rspec and autotest (was: questions rspec on rails)
Do have the latest versions? RSpec-1.0.3 ZenTest-3.6.0 ---------- Forwarded message ---------- From: Jonathan Linowes <jonathan at parkerhill.com> Date: May 29, 2007 11:47 AM Subject: Re: [rspec-users] questions rspec on rails To: rspec-users <rspec-users at rubyforge.org> Hi, I should have mentioned I already did that. Here''s my spec.opts file --colour --format progress