Sha256: ecf574d4f8bdec9913fde447c73e2983704fd765e4e8898d02ee45cef0848753

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

class ConsoleIndexControllerTest < ActionController::TestCase
  test 'redirect to applications path' do
    with_configured_user
    get :index
    assert_redirected_to applications_path
  end

  test 'render unauthorized' do
    get :unauthorized
    assert_response :success
    assert_template 'console/unauthorized'
  end

  test 'render help' do
    with_configured_user
    get :help
    assert_response :success
    assert_template 'console/help'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openshift-origin-console-1.3.4 test/functional/console_index_controller_test.rb
openshift-origin-console-1.3.3 test/functional/console_index_controller_test.rb
openshift-origin-console-1.3.2 test/functional/console_index_controller_test.rb