Sha256: 0e37c331dbf942c71cebe96a5a2683ed81bb1d5697823631e6677587912e6210
Contents?: true
Size: 521 Bytes
Versions: 62
Compression:
Stored size: 521 Bytes
Contents
require 'test_helper' module Workarea module Admin class ContentIntegrationTest < Workarea::IntegrationTest include Admin::IntegrationTest def test_show_page_redirection get admin.content_path(create_content(name: 'Home Page')) refute(response.redirect?) page = create_page content = Content.for(page) get admin.content_path(content) assert(response.redirect?) assert_redirected_to(admin.edit_content_path(content)) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems