Sha256: fd93f6bf9de51a511794c1e48ea9a666b4424ca0ae3104991bb87c35127a69c8
Contents?: true
Size: 494 Bytes
Versions: 4
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe DeepL::Resources::LanguagePair do subject { described_class.new('en', 'de', nil, nil) } describe '#initialize' do context 'When building a basic object' do it 'should create a resource' do expect(subject).to be_a(described_class) end it 'should assign the attributes' do expect(subject.source_lang).to eq('en') expect(subject.target_lang).to eq('de') end end end end
Version data entries
4 entries across 4 versions & 1 rubygems