Sha256: 11bd033dace3370b205857efe445b135fe435deda33daf539b57dae354b40a55

Contents?: true

Size: 377 Bytes

Versions: 14

Compression:

Stored size: 377 Bytes

Contents

require 'test_helper'

module PagesCms
  class ArticlesControllerTest < ActionController::TestCase

    setup do
      @routes = Engine.routes
    end

    test 'get articles home' do
      get :index
      assert_response :success
    end

    test 'get individual article' do
      get :show, id: pages_cms_articles(:one).id
      assert_response :success
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pages_cms-1.0.8 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.6 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.5 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.4 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.3 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.2 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.1 test/functional/pages_cms/articles_controller_test.rb
pages_cms-1.0.0 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.2.3 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.2.2 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.2.1 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.2.0 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.1.1 test/functional/pages_cms/articles_controller_test.rb
pages_cms-0.1.0 test/functional/pages_cms/articles_controller_test.rb