spec/resources/text_spec.rb in deepl-rb-3.0.2 vs spec/resources/text_spec.rb in deepl-rb-3.1.0
- old
+ new
@@ -4,10 +4,10 @@
# frozen_string_literal: true
require 'spec_helper'
describe DeepL::Resources::Text do
- subject(:text) { described_class.new('Target', 'es', nil, nil) }
+ subject(:text) { described_class.new('Target', 'es', nil, nil, nil) }
describe '#initialize' do
context 'when building a basic object' do
it 'creates a resource' do
expect(text).to be_a(described_class)