Sha256: 577602453d112e4cf8690bf3d9cb5d93afd7b6291ce7fb3cfbec799636bc8e3c

Contents?: true

Size: 240 Bytes

Versions: 9

Compression:

Stored size: 240 Bytes

Contents

require 'rest-core/test'

describe RC::Simple do
  before do
    @path = 'http://example.com'
    stub_request(:get, @path).to_return(:body => 'OK')
  end

  should 'work with RC' do
    RC::Simple.new.get(@path).should.eq 'OK'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rest-core-3.0.0 test/test_simple.rb
rest-core-2.1.2 test/test_simple.rb
rest-core-2.1.1 test/test_simple.rb
rest-core-2.1.0 test/test_simple.rb
rest-core-2.0.4 test/test_simple.rb
rest-core-2.0.3 test/test_simple.rb
rest-core-2.0.2 test/test_simple.rb
rest-core-2.0.1 test/test_simple.rb
rest-core-2.0.0 test/test_simple.rb