aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/cookie_stripping_spec.rb
blob: 897899fd5254a40cd43fb0720f270c4ceda5cc3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require File.expand_path(File.dirname(__FILE__) + '/alaveteli_dsl')

describe 'when making stripping cookies' do

    it 'should not set a cookie when no significant session data is set' do
        get 'country_message'
        response.headers['Set-Cookie'].should be_blank
    end

end