Sha256: 7734016678207706e5e41893562c68b3cb4900c16f14335cdd8b98805f6bfa08

Contents?: true

Size: 457 Bytes

Versions: 9

Compression:

Stored size: 457 Bytes

Contents

require 'test_helper'

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

    setup do
      @routes = Engine.routes
    end

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

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

    test 'should get index' do
      get :index
      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/articles_controller_test.rb
pages_cms-0.2.2 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.2.1 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.2.0 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.1.1 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.1.0 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.0.3 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.0.2 test/functional/pages_cms/admin/articles_controller_test.rb
pages_cms-0.0.1 test/functional/pages_cms/admin/articles_controller_test.rb