search for: home_helper_spec

Displaying 2 results from an estimated 2 matches for "home_helper_spec".

2007 Nov 03
1
Specs for Helpers that call render
...module HelperHelper def render_partial render :partial => ''partial'' end end ## The helper spec. ## describe HelperHelper do it "should render partial" do render_partial.should_not == nil end end ## The output generated ## $ spec spec/helpers/home_helper_spec.rb .F 1) NoMethodError in ''HelperHelper should render partial'' You have a nil object when you didn''t expect it! The error occurred while evaluating nil.render app/helpers/helper_helper.rb:4:in `render_partial'' ./spec/helpers/helper_helper_spec.rb:3: Finished in...
2010 Sep 22
1
Bundler picking up wrong version of Ruby with Rails 3 ( possible bundler bug )
...g autotest/rails_rspec2 bundle exec /Users/manish/Foo/Foo-Server/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/bin/rspec ''/Users/manish/Foo/Foo-Server/FooInsight/spec/controllers/users_controller_spec.rb'' ''/Users/manish/Foo/Foo-Server/FooInsight/spec/helpers/home_helper_spec.rb'' ''/Users/manish/Foo/Foo-Server/FooInsight/spec/helpers/install_helper_spec.rb'' ''/Users/manish/Foo/Foo-Server/FooInsight/spec/models/user_spec.rb'' * /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/dependency.rb:52 *:in...