Sha256: ee6399cb4257739ddab6dd35648dcb6f477a88b80b41945835b9273ca1bad072

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

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

describe 'including mis-capitalized matcher' do
  it 'raises an exception' do
    expect do
      Class.new.send(:include, Wisper::Rspec::BroadcastMatcher)
    end.to raise_error(/include Wisper::RSpec::BroadcastMatcher instead of/)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wisper-rspec-1.1.0 spec/wisper/rspec/old_matcher_spec.rb
wisper-rspec-1.0.1 spec/wisper/rspec/old_matcher_spec.rb
wisper-rspec-1.0.0 spec/wisper/rspec/old_matcher_spec.rb
wisper-rspec-0.0.3 spec/wisper/rspec/old_matcher_spec.rb