Sha256: 8500a44aa4e7a0901bd594430f2df9528f7a4e6c96ab833dc42508fb77eb969e

Contents?: true

Size: 313 Bytes

Versions: 9

Compression:

Stored size: 313 Bytes

Contents

RSpec.describe Mutant::Matcher::Static, '#call' do
  let(:object)   { described_class.new(subjects) }
  let(:env)      { instance_double(Mutant::Env)  }
  let(:subjects) { instance_double(Array)        }

  subject { object.call(env) }

  it 'returns its predefined subjects' do
    should be(subjects)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mutant-0.8.16 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.15 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.14 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.13 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.12 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.11 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.10 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.9 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.8 spec/unit/mutant/matcher/static_spec.rb