mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
14 lines
338 B
Ruby
14 lines
338 B
Ruby
![]() |
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
||
|
|
||
|
|
||
|
shared_examples_for "session with headers support" do
|
||
|
|
||
|
describe '#response_headers' do
|
||
|
it "should return response headers" do
|
||
|
@session.visit('/with_simple_html')
|
||
|
@session.response_headers['Content-Type'].should == 'text/html'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|