Sha256: cdf85fec41b14a269f98801a546fb62ccf5c5c847a2dac2faa5c72ebb18708ae
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
require 'spec_helper.rb' describe Reviewed::Response do describe "response" do use_vcr_cassette 'response/authors' before(:each) do @response = Reviewed::Request.get('authors') end describe "json" do it 'returns json' do @response.json[:pagination]["total"].should eql(171) end end describe "raw" do it 'returns the raw_response' do @response.raw.should be_an_instance_of(String) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reviewed-0.0.1 | spec/response_spec.rb |