mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Make it clearer that session is nil
This commit is contained in:
@@ -13,6 +13,7 @@ class ActiveRecordStoreTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
def set_session_value
|
||||
raise "missing session!" unless session
|
||||
session[:foo] = params[:foo] || "bar"
|
||||
head :ok
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user