Sha256: 2ba3b87c86acfcaf3614a1a7a63f95730f646fab31b0cd2a7110a17f4b04b234
Contents?: true
Size: 423 Bytes
Versions: 34
Compression:
Stored size: 423 Bytes
Contents
require_relative '../spec_helper' describe RestfulResource::Base do context "#get" do it "should throw an exception with wrong url" do expect{RestClient.get("http://www.example.com/djksafjadl", params: {})}.to raise_error end it "should throw an exception with wrong url" do r = RestClient::Resource.new("http://www.example.com/djksafjadl") expect{r.get}.to raise_error end end end
Version data entries
34 entries across 34 versions & 1 rubygems