Sha256: 6803560e870bb8f46dc511f323f45e6f631589eb1ff78330c075bb87680b44ed
Contents?: true
Size: 452 Bytes
Versions: 18
Compression:
Stored size: 452 Bytes
Contents
require "spec_helper" describe CompareLinker::GemDictionary do describe "#lookup" do context 'given a gem name included in the dictionary' do subject { described_class.new.lookup('serverspec') } it { is_expected.to eq %w(mizzy serverspec) } end context 'given a gem name not included in the dictionary' do subject { described_class.new.lookup('not_exist') } it { is_expected.to eq [nil, nil] } end end end
Version data entries
18 entries across 18 versions & 1 rubygems