Sha256: 0735f815c55cf53c1a3d7246592846b282ae4642a216e3e9f0ff1a0215881ee8

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

require './lib/marver/finders/character_finder.rb'

describe Marver::CharacterFinder do
  let(:credentials) { double(Marver::Credentials, class: Marver::Credentials) }
  let(:finder) { Marver::CharacterFinder.new(credentials) }

  it 'has credentials' do
    expect(finder.credentials.class).to eq Marver::Credentials
  end

  it 'has a rest client' do
    expect(finder.rest_client.class).to eq Marver::REST::Client
  end

  describe '#find' do
    context 'no arguments' do
      it 'returns a list of characters' do
      end
    end

    context 'with arguments' do
      it 'returns a character' do
        pending
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marver-0.0.2 spec/marver/finders/character_finder_spec.rb