Sha256: 6322bb386574c69496c8c2dc03d38a4eec818cdf478e3d79e2d1a6026b8d0e34
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
errdo-0.9.0 | test/integrations/views_integration_test.rb |