Sha256: 64faa3a5b2e27158fcaee98593339c13407d299155b25b94baa1f3720c80d4ed

Contents?: true

Size: 692 Bytes

Versions: 8

Compression:

Stored size: 692 Bytes

Contents

require 'spec_helper'

describe Capybara::Session, :jruby => :installed do
  context 'with culerity driver' do
    before(:all) do
      @session = TestSessions::Culerity
    end

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

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

    it_should_behave_like "session"
    it_should_behave_like "session with javascript support"
    it_should_behave_like "session with headers support"
    it_should_behave_like "session with status code support"
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
capybara-0.4.1.2 spec/session/culerity_session_spec.rb
capybara-rails-2-2-0.4.1.1 spec/session/culerity_session_spec.rb
rcarvalho-capybara-0.4.1.2 spec/session/culerity_session_spec.rb
rcarvalho-capybara-0.4.1.1 spec/session/culerity_session_spec.rb
capybara-0.4.1.1 spec/session/culerity_session_spec.rb
capybara-0.4.1.rc spec/session/culerity_session_spec.rb
capybara-0.4.0 spec/session/culerity_session_spec.rb
capybara-0.4.0.rc spec/session/culerity_session_spec.rb