On 7 September 2012 02:15, Robonix <[email protected]> wrote:
> Hi can anyone help me with a snag, in Section 5.3.4?
>
>
> Having to do with Listing 5.27, Prettier tests for the static pages,
> Terminal gives me this when I run the
>
> bundle exec rspec spec/requests/static_pages_spec.rb
>
> Roberts-MacBook-Air:sample_app robertjoonkim$ bundle exec rspec
> spec/requests/static_pages_
> spec.rb
> .F.F.F..F
>
> Failures:
>
>   1) Static pages Contact page
>      Failure/Error: it { should have_selector('title', text:
> full_title('Contact')) }
>      NoMethodError:
>        undefined method `full_title' for
> #<RSpec::Core::ExampleGroup::Nested_1::Nested_4:0x007fcc84b11a90>
>      # ./spec/requests/static_pages_spec.rb:33:in `block (3 levels) in <top
> (required)>'

Have you provided spec/support/utilities.rb as in listing 5.26?  If so
then check that there are no typos.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to