Refactor Duplate Tests RSPEC

describe '#double_it' do
  def self.test_double_it(initial, doubled)
    it "doubles #{initial} into #{doubled}" do
      expect(double_it(initial)).to eq(doubled)
    end
  end

  test_double_it 1, 2
  test_double_it 2, 4
  test_double_it 4, 8
end
Terrible Tapir