Sha256: 2ea6c3347d05e223bff974b63a1c2c9b37da684edeae6133eb85cf17a159114a

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

require 'spec_helper'
require 'torkify/event/echo_event'

module Torkify::Event
  describe EchoEvent do

    context "with a pass_now_fail event" do
      before do
        @type = 'echo'
        @arguments = ['a']
        @event = EchoEvent.new(@type, @arguments)
      end

      subject { @event }

      its(:type)      { should == @type }
      its(:arguments) { should == @arguments }
      its(:args)      { should == @arguments }
      its(:to_s)      { should == @type }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
torkify-0.0.3 spec/event/echo_event_spec.rb
torkify-0.0.2 spec/event/echo_event_spec.rb