Sha256: 9955597e92f8168f8168980c4ca909d163acb803d894c5633bed05baca1645e9

Contents?: true

Size: 367 Bytes

Versions: 9

Compression:

Stored size: 367 Bytes

Contents

require 'test_helper'

module PagesCms
  class Admin::PagesControllerTest < ActionController::TestCase

    setup do
      @routes = Engine.routes
    end

    test 'should get index' do
      get :index
      assert_response :success
    end

    test 'should get edit' do
      get :edit, id: pages_cms_pages(:one)
      assert_response :success
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pages_cms-0.2.3 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.2.2 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.2.1 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.2.0 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.1.1 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.1.0 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.0.3 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.0.2 test/functional/pages_cms/admin/pages_controller_test.rb
pages_cms-0.0.1 test/functional/pages_cms/admin/pages_controller_test.rb