Guest User

Untitled

a guest
Jul 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. match '/privacy' => 'site#privacy', :as => :privacy, :host => MyApp::Application.config.primary_domain
  2.  
  3. it "should return the privacy view on GET :privacy" do
  4. get :privacy
  5. response.should render_template(:privacy)
  6. end
  7.  
  8. Failure/Error: get :privacy
  9. ActionController::RoutingError:
  10. No route matches {:controller=>"site", :action=>"privacy"}
Add Comment
Please, Sign In to add comment