Sha256: c613f572cdab17f602c59e8ce3939d35a5061524b30b9efa88ea788ae7f1dbeb

Contents?: true

Size: 436 Bytes

Versions: 8

Compression:

Stored size: 436 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

# This spec is only present to ensure 100% test coverage.
# The code should not be triggered on runtime.

describe Mutant::Matcher, '#each' do
  subject { object.send(:each) }

  let(:object) { described_class.allocate }

  it 'should raise error' do
    expect do
      subject
    end.to raise_error(
      NotImplementedError,
      'Mutant::Matcher#each is not implemented'
    )
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.3.1 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.rc5 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.rc4 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.rc3 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.rc2 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.rc1 spec/unit/mutant/matcher/each_spec.rb
mutant-0.3.0.beta22 spec/unit/mutant/matcher/each_spec.rb