Sha256: 9c6d6476d1c8daf4596340603c878ac25a4d99238080fc4edec4258fbeead0fc

Contents?: true

Size: 344 Bytes

Versions: 20

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

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

20 entries across 20 versions & 1 rubygems

Version Path
mutant-0.9.11 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.10 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.9 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.8 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.7 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.6 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.5 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.4 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.3 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.2 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.1 spec/unit/mutant/matcher/static_spec.rb
mutant-0.9.0 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.24 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.23 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.22 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.21 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.20 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.19 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.18 spec/unit/mutant/matcher/static_spec.rb
mutant-0.8.17 spec/unit/mutant/matcher/static_spec.rb