Fix let code formatting in specs

This commit is contained in:
Dan Kubb 2018-11-06 11:05:46 -08:00
parent 45396179be
commit de35ad8ff8

View file

@ -28,8 +28,8 @@ RSpec.describe Mutant::Matcher::Method::Instance, '#call' do
end end
context 'when method is defined inside eval' do context 'when method is defined inside eval' do
let(:scope) { base::WithMemoizer } let(:scope) { base::WithMemoizer }
let(:method) { scope.instance_method(:boz) } let(:method) { scope.instance_method(:boz) }
let(:expected_warnings) do let(:expected_warnings) do
[ [
@ -41,8 +41,8 @@ RSpec.describe Mutant::Matcher::Method::Instance, '#call' do
end end
context 'when method is defined without source location' do context 'when method is defined without source location' do
let(:scope) { Module } let(:scope) { Module }
let(:method) { scope.instance_method(:object_id) } let(:method) { scope.instance_method(:object_id) }
let(:expected_warnings) do let(:expected_warnings) do
[ [