Sha256: 3f4617ee929d876f37958a759f5956bf1339598b92b38ebc545e1dd1d68da7ca

Contents?: true

Size: 744 Bytes

Versions: 8

Compression:

Stored size: 744 Bytes

Contents

require File.expand_path('../spec_helper', File.dirname(__FILE__))

if RUBY_PLATFORM =~ /java/
  describe Capybara::Driver::Celerity do
    before(:all) do
      @session = Capybara::Session.new(:celerity, TestApp)
    end

    describe '#driver' do
      it "should be a rack test driver" do
        @session.driver.should be_an_instance_of(Capybara::Driver::Celerity)
      end
    end

    describe '#mode' do
      it "should remember the mode" do
        @session.mode.should == :celerity
      end
    end

    it_should_behave_like "session"
    it_should_behave_like "session with javascript support"
    it_should_behave_like "session with headers support"
  end
else
  puts "#{File.basename(__FILE__)} requires JRuby; skipping.."
end

Version data entries

8 entries across 8 versions & 5 rubygems

Version Path
david-capybara-0.3.8 spec/session/celerity_session_spec.rb
katzil-capybara-0.3.8 spec/session/celerity_session_spec.rb
capybara-0.3.8 spec/session/celerity_session_spec.rb
pr0d1r2-capybara-0.3.7 spec/session/celerity_session_spec.rb
capybara-0.3.7 spec/session/celerity_session_spec.rb
capybara-0.3.6 spec/session/celerity_session_spec.rb
h13ronim-capybara-0.3.0.1 spec/session/celerity_session_spec.rb
capybara-0.3.5 spec/session/celerity_session_spec.rb