Sha256: 3802d59ec96a00af26c70e4463847abacc52d101247324aef1b87e4fa9c3a14c

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

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

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roart-0.1.7 spec/roart/connection_adapter_spec.rb
roart-0.1.6 spec/roart/connection_adapter_spec.rb
roart-0.1.5.1 spec/roart/connection_adapter_spec.rb
roart-0.1.5 spec/roart/connection_adapter_spec.rb