Sha256: 454a63e28407eed9bc1e30de906e073cef29c2d9630cac08ee5b8eea337671d7

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

require 'kookaburra/configuration'
require 'support/shared_examples/it_has_a_dependency_accessor'

describe Kookaburra::Configuration do
  it_behaves_like :it_has_a_dependency_accessor, :given_driver_class
  it_behaves_like :it_has_a_dependency_accessor, :ui_driver_class
  it_behaves_like :it_has_a_dependency_accessor, :browser
  it_behaves_like :it_has_a_dependency_accessor, :app_host
  it_behaves_like :it_has_a_dependency_accessor, :mental_model

  describe '#server_error_detection' do
    it 'returns the block that it was last given' do
      block = lambda { 'foo' }
      subject.server_error_detection(&block)
      subject.server_error_detection.should == block
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kookaburra-0.22.3 spec/kookaburra/configuration_spec.rb
kookaburra-0.22.2 spec/kookaburra/configuration_spec.rb
kookaburra-0.22.1 spec/kookaburra/configuration_spec.rb
kookaburra-0.22.0 spec/kookaburra/configuration_spec.rb