Sha256: a368662ee16c1fdb173360db2abf068f961b3111b333722ef9d187b12e2eb41c

Contents?: true

Size: 306 Bytes

Versions: 8

Compression:

Stored size: 306 Bytes

Contents

require "test_helper"

class Admin::DashboardControllerTest < ActionController::TestCase

  context "When authentication is none" do

    setup do
      Typus.stubs(:authentication).returns(:none)
    end

    should "render dashboard" do
      get :show
      assert_response :success
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre7 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre6 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre5 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre4 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre3 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre2 test/functional/admin/dashboard_controller_none_test.rb
typus-1.0.0.pre test/functional/admin/dashboard_controller_none_test.rb