Skip to content

Commit 03700b4

Browse files
committed
just kill brittle test
1 parent f97832b commit 03700b4

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

actionpack/test/controller/session/cookie_store_test.rb

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -193,27 +193,6 @@ def test_persistent_session_id
193193
end
194194
end
195195

196-
def test_session_store_with_expire_after
197-
app = ActionController::Session::CookieStore.new(DispatcherApp, :key => SessionKey, :secret => SessionSecret, :expire_after => 5.hours)
198-
@integration_session = open_session(app)
199-
200-
with_test_route_set do
201-
# First request accesses the session
202-
cookies[SessionKey] = SignedBar
203-
204-
get '/set_session_value'
205-
assert_response :success
206-
cookie = headers['Set-Cookie']
207-
208-
# Second request does not access the session so the
209-
# expires header should not be changed
210-
get '/no_session_access'
211-
assert_response :success
212-
assert_equal cookie, headers['Set-Cookie'],
213-
"#{unmarshal_session(cookie).inspect} expected but was #{unmarshal_session(headers['Set-Cookie']).inspect}"
214-
end
215-
end
216-
217196
private
218197
def with_test_route_set
219198
with_routing do |set|

0 commit comments

Comments
 (0)