1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/driver/celerity_driver_spec.rb

17 lines
564 B
Ruby

require File.expand_path('../spec_helper', File.dirname(__FILE__))
if RUBY_PLATFORM =~ /java/
describe Capybara::Driver::Celerity do
before(:all) do
@driver = Capybara::Driver::Celerity.new(TestApp)
end
it_should_behave_like "driver"
it_should_behave_like "driver with javascript support"
it_should_behave_like "driver with header support"
it_should_behave_like "driver with status code support"
it_should_behave_like "driver with cookies support"
end
else
puts "#{File.basename(__FILE__)} requires JRuby; skipping.."
end