Sha256: 1ac95c8c27e1fd59fd0a6e8daaf4e664f03e601417866a1459d9841a29bc3438
Contents?: true
Size: 736 Bytes
Versions: 15
Compression:
Stored size: 736 Bytes
Contents
require 'spec_helper' module Roqua module CoreApi module Models describe Dossier do let(:valid_dossier) { Dossier.new } describe '#new' do subject { Dossier.new external_identifier: 'ext_id' } it 'accepts a hash of attributes' do expect(subject.external_identifier).to eq 'ext_id' end end describe '#assign_attributes' do subject { Dossier.new external_identifier: 'ext_id' } it 'allows assigning of attributes' do subject.assign_attributes(external_identifier: 'external_identifier') expect(subject.external_identifier).to eq 'external_identifier' end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems