Sha256: 5e206f6ee8cba9794d6f4f1aa2d1ea4b424a846034d77cee55f2d09960a3b258

Contents?: true

Size: 341 Bytes

Versions: 16

Compression:

Stored size: 341 Bytes

Contents

require File.join(File.dirname(__FILE__), %w[ .. spec_helper])

describe "ConnectionAdapter" do
  
  it 'should give us back a connection' do
    Roart::ConnectionAdapters::MechanizeAdapter.should_receive(:new).with(:adapter => 'mechanize').and_return(mock('mechanize'))
    Roart::ConnectionAdapter.new(:adapter => 'mechanize')
  end

end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
ludo-roart-0.1.19 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.18 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.17 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.16 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.15 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.14 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.13 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.12 spec/roart/connection_adapter_spec.rb
ludo-roart-0.1.11 spec/roart/connection_adapter_spec.rb
roart-0.1.10 spec/roart/connection_adapter_spec.rb
axtro-roart-0.1.9.2 spec/roart/connection_adapter_spec.rb
axtro-roart-0.1.9.1 spec/roart/connection_adapter_spec.rb
roart-0.1.9 spec/roart/connection_adapter_spec.rb
axtro-roart-0.1.9 spec/roart/connection_adapter_spec.rb
axtro-roart-0.1.8 spec/roart/connection_adapter_spec.rb
roart-0.1.8 spec/roart/connection_adapter_spec.rb