Sha256: 336faf89ad2ae3596d6d88d61506ac514da29393cbb50c7a2310ea4bcc2026c7

Contents?: true

Size: 411 Bytes

Versions: 34

Compression:

Stored size: 411 Bytes

Contents

require 'test_helper'

class AccountsControllerTest < ActionController::TestCase

  context "when signed out" do
    setup { sign_out }
    should_deny_access_on :get, :edit
    should_deny_access_on :put, :update
  end

  context "on POST to create" do
    setup do
      post :create
    end

    should_deny_access

    should "not store location" do
      assert session[:return_to].nil?
    end
  end

end

Version data entries

34 entries across 34 versions & 8 rubygems

Version Path
janova-clearance-0.8.8 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.11.2 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.11.1 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.9.2 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.9.1 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.9.0 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.8.0 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.7.0 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.6.2 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.6.1 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.6.0 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.5 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.4 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.3 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.2 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.1 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.5.0 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.4.2 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.4.1 test/rails_root/test/functional/accounts_controller_test.rb
headstart-0.4.0 test/rails_root/test/functional/accounts_controller_test.rb