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