Skip to content

Commit cc8c473

Browse files
authored
Merge pull request #880 from mbj/remove/relative-class-usage
Remove relative class usage
2 parents ea993bd + adb6ff9 commit cc8c473

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/unit/mutant/isolation/fork_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
let(:log_reader) { instance_double(IO, :log_reader) }
1818
let(:log_writer) { instance_double(IO, :log_writer) }
1919
let(:marshal) { class_double(Marshal) }
20-
let(:pid) { class_double(0.class) }
20+
let(:pid) { class_double(Integer) }
2121
let(:process) { class_double(Process) }
2222
let(:result_fragment) { 'result body' }
2323
let(:result_reader) { instance_double(IO, :result_reader) }

spec/unit/mutant/loader_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def apply
1212

1313
let(:path) { instance_double(Pathname, to_s: path_str) }
1414
let(:path_str) { instance_double(String) }
15-
let(:line) { instance_double(0.class) }
15+
let(:line) { instance_double(Integer) }
1616
let(:kernel) { class_double(Kernel) }
1717
let(:binding) { instance_double(Binding) }
1818
let(:source) { instance_double(String) }

0 commit comments

Comments
 (0)