Sha256: bfc77fa184314135c66bc0f7518acf31ccf013828ea2951eeb8dfd2f0a7b26e6

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper.rb'

describe Reviewed::Request do
  describe 'generic' do
    use_vcr_cassette 'request/authors'

    before(:each) do
      @response = Reviewed::Request.get('authors')
    end

    it 'returns a valid response' do
      @response.json[:pagination]["total"].should eql(171)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reviewed-0.0.1 spec/request_spec.rb