Sha256: e0d0294cffc86ea9001f6105f61ce469fa2bd47c9fa95d172068247a009198a6

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

require_relative '../../../../lib/wisper/rspec/matchers'

describe Wisper::RSpec::EventRecorder do
  describe '#method' do
    describe 'given :id' do
      it 'does not raise an error' do
        expect { Wisper::RSpec::EventRecorder.new.method(:id) }.not_to raise_error
      end
    end
  end

  describe '#respond_to?' do
    it 'returns true' do
      expect(subject.respond_to?(:boom_shakalaka)).to eq true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wisper-rspec-1.1.0 spec/wisper/rspec/unit/event_recorder_spec.rb
wisper-rspec-1.0.1 spec/wisper/rspec/unit/event_recorder_spec.rb