Sha256: 513391b9f6386d10596eaf549909484ed6d7c3ebe40b6782996aa5b8b86ca20b

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

shared_examples 'a user action' do
  before do
    allow(File).to receive(:open).and_return("client_id\n#{client_id}")
  end

  it 'uses client_id column' do
    expect(domain).to receive(:clients).with(client_id, nil)
    subject.class.call(params)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.54 spec/unit/actions/shared_examples_for_user_actions.rb