Sha256: 31b2060f51b0ef51f3919dac276fb5f8390fa92f57c99a844f58c3f399cde494
Contents?: true
Size: 755 Bytes
Versions: 11
Compression:
Stored size: 755 Bytes
Contents
require 'test_helper' class ViewsIntegrationTest < ActionDispatch::IntegrationTest include Errdo::Helpers::ViewsHelper context "views" do setup do get_via_redirect static_generic_error_path @errdo = Errdo::Engine.routes.url_helpers end should "be able to successfully get the index" do get @errdo.root_path assert_response :success end should "be able to successfully get the error's page" do get @errdo.error_path(Errdo::Error.last) assert_response :success end should "be able to get an error's page with a specific instance selected" do get @errdo.error_path(Errdo::Error.last, occurrence_id: Errdo::ErrorOccurrence.last) assert_response :success end end end
Version data entries
11 entries across 11 versions & 1 rubygems