Sha256: 31544aa9c94c79da954d8e33feeda74b7e5db8cdc6a8480f1321888d1f1f108f
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
# Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'spec/helper' class TrinitySessionController < Ramaze::Controller map :/ def index "nothing" end end describe "Session" do before(:all){ Ramaze::Global.sessions = false ramaze } it 'should work without sessions' do (Ramaze::Session::IP_COUNT_LIMIT + 2).times do r = get('/') r.body.should == "nothing" r.headers.should == {'Content-Type' => 'text/html'} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ramaze-0.1.4 | spec/ramaze/trinity/session.rb |
ramaze-0.2.0 | spec/ramaze/trinity/session.rb |
ramaze-0.2.1 | spec/ramaze/trinity/session.rb |