2012-07-21 20:44:10 +00:00
|
|
|
Capybara::SpecHelper.spec '#response_headers' do
|
|
|
|
it "should return response headers", :requires => [:response_headers] do
|
|
|
|
@session.visit('/with_simple_html')
|
|
|
|
@session.response_headers['Content-Type'].should =~ %r(text/html)
|
2010-04-09 14:41:35 +00:00
|
|
|
end
|
|
|
|
end
|