Sha256: 415d586c08c17c228da0b5c0426462bd9a730464ce355ad96f1ea8e180c65e7f

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

require 'spec_helper'

describe Board::Client do

  let(:client) { Board::Client.new('VALID_KEY') }

  describe "when creating" do

    context 'and missing an API key' do
      it 'should raise an error' do
        expect { Board::Client.new }.to raise_error
      end
    end

    context "with an API key" do
      it 'should not raise an error' do
        Board::Client.new('API_KEY')
      end
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
board-client-0.1.0 spec/board/client_spec.rb