Sha256: ca7b423f90eb13787cfcda7ac9402b296275841a95367abadcff0b6935ae40db

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

describe InkFilePicker do
  describe ".client" do
    it "takes given arguments and initializes a client" do
      client = double
      attributes = {some: 'attributes'}

      InkFilePicker::Client.should_receive(:new).with(attributes).and_return client

      expect(described_class.client(attributes)).to eq client
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ink_file_picker-0.0.3 spec/ink_file_picker_spec.rb
ink_file_picker-0.0.2 spec/ink_file_picker_spec.rb
ink_file_picker-0.0.1 spec/ink_file_picker_spec.rb