The code powering m.abunchtell.com https://m.abunchtell.com
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

22 рядки
475 B

  1. require "rails_helper"
  2. describe "The catch all route" do
  3. describe "with a simple value" do
  4. it "returns a 404 page as html" do
  5. get "/test"
  6. expect(response.status).to eq 404
  7. expect(response.content_type).to eq "text/html"
  8. end
  9. end
  10. describe "with an implied format" do
  11. it "returns a 404 page as html" do
  12. get "/test.test"
  13. expect(response.status).to eq 404
  14. expect(response.content_type).to eq "text/html"
  15. end
  16. end
  17. end