mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
19e1ffc084
Use rspec2's metadata features to skip celerity specs when run in MRI and culerity specs when jruby is not installed.
13 lines
411 B
Ruby
13 lines
411 B
Ruby
require 'spec_helper'
|
|
|
|
describe Capybara::Driver::Celerity, :jruby => :platform do
|
|
before(:all) do
|
|
@driver = TestSessions::Celerity.driver
|
|
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
|