Sha256: c9d483e430d40ac4cfa603b511e8d719ddf42ad9512f54ec86aadbb47b0661d7

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'

describe Conquiro::SoftwareRepository, vcr: {match_requests_on: [:method, :uri]} do
  let(:repo) { described_class.new }

  it "should respond to query" do
    expect(repo).to respond_to(:query)
  end

  it "should find two instances for gasapp"  do
    apps = repo.query(term: 'gasapp')
    expect(apps.size).to eq(2)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conquiro-0.0.2 spec/lib/conquiro/software_repository_spec.rb
conquiro-0.0.1 spec/lib/conquiro/software_repository_spec.rb