Sha256: 91b0c1f87d16728f542cda91770b1d87929a2aeb36f60502548a94945de67015

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

require 'spec_helper'
describe Director do
  subject { Director.new }
  let(:adapter) { Adapter.new(agent: subject) }

  it 'should respond to adapter events' do
    expect(subject).to receive(:handle).with(:click, 1,2)
    adapter.click(1,2)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
straightedge-0.1.2 spec/straightedge/director_spec.rb
straightedge-0.1.1 spec/straightedge/director_spec.rb