On Tuesday, 6 November 2012 14:21:21 UTC-5, Ruby-Forum.com User wrote:
>
> I just returned from a different project after taking a few weeks off of 
> my tutorial.  I'm using Ruby on Rails 3 Tutorial - Learn Rails by 
> Example by Michael Hartl. 
>
> After rebooting my server I ran an rspec spec/ command to check to see 
> if there were any problems and this is what I received.  I didn't modify 
> anything except I did overwrite users_controller.rb and 
> users_controller_spec.rb when starting another chapter of the tutorial. 
> I'm not sure what changed. 
>
> I'm having trouble diagnosing the error: 
>
> Pending: 
>   UsersHelper add some examples to (or delete) 
> /Users/andrewchickedantz/rails_projects/sample_app/spec/helpers/users_helper_spec.rb
>  
>
>     # No reason given 
>     # ./spec/helpers/users_helper_spec.rb:14 
>   User add some examples to (or delete) 
> /Users/andrewchickedantz/rails_projects/sample_app/spec/models/user_spec.rb 
>
>     # No reason given 
>     # ./spec/models/user_spec.rb:4 
>   users/new.html.erb add some examples to (or delete) 
> /Users/andrewchickedantz/rails_projects/sample_app/spec/views/users/new.html.erb_spec.rb
>  
>
>     # No reason given 
>     # ./spec/views/users/new.html.erb_spec.rb:4 
>
> Failures: 
>
>   1) LayoutLinks should have a signup page at '/signup' 
>      Failure/Error: response.should have_selector('title', :content => 
> "Sign up") 
>        expected following output to contain a <title>Sign up</title> 
> tag: 
>        <!DOCTYPE html> 
>        <html> 
>        <head> 
>        <meta http-equiv="Content-Type" content="text/html; 
> charset=UTF-8"> 
>        <title>Ruby on Rails Tutorial Sample App | </title> 
>
>
Looks like your spec is expecting a different <title> tag than the one 
you've got here.

--Matt Jones 

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/WqanRQt3lBwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to