Sha256: 870fd90f5e8d7ec1c864a90840a6e24d1a36c89179c934bfedef85ff3e93a3c3
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' require 'vcr_config' describe Isitfree::Miner do it 'returns false for a gem that exists' do VCR.use_cassette('gem_exists') do expect(described_class.find('nokogiri')).to eq true end end it 'returns true for a gem that doesnt exist' do VCR.use_cassette('gem_doesnt_exist') do expect(described_class.find('some_silly_name_that_doest_make_sense')).to eq false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
isitfree-0.0.1 | spec/isitfree/miner_spec.rb |