Skip to content

Commit

Permalink
add IE specific test
Browse files Browse the repository at this point in the history
  • Loading branch information
japj authored and seancribbs committed Jan 27, 2009
1 parent 3c52021 commit 9125720
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/integration/admin/ie_spec.rb
@@ -0,0 +1,16 @@
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe "Internet Explorer specific tests" do
dataset :pages, :users

before do
Radiant::Config['defaults.page.parts'] = 'body'
login :admin
end

it 'should allow Internet Explorer to navigate to the pages when logged in' do
get '/admin/pages', nil, :accept => "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*"
#TODO: fix respone should to actually match the expectation
response.should_not have_text(/Missing\ template/)
end
end

0 comments on commit 9125720

Please sign in to comment.