We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e3f0d commit f9d4d22Copy full SHA for f9d4d22
spec/unit/mutant/env_spec.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
3
RSpec.describe Mutant::Env do
4
- let(:object) do
+ subject do
5
described_class.new(
6
config: config,
7
integration: integration,
@@ -55,7 +55,7 @@
55
56
describe '#kill' do
57
def apply
58
- object.kill(mutation)
+ subject.kill(mutation)
59
end
60
61
before do
@@ -120,10 +120,12 @@ def apply
120
121
122
describe '#selections' do
123
- subject { object.selections }
+ def apply
124
+ subject.selections
125
+ end
126
127
it 'returns expected selections' do
- expect(subject).to eql(mutation_subject => tests)
128
+ expect(apply).to eql(mutation_subject => tests)
129
130
131
0 commit comments