Sha256: 3debffda2ff96d362402e5016afb90d7d6fcaf5c3b5fc6940baa1290cf375df4
Contents?: true
Size: 369 Bytes
Versions: 3
Compression:
Stored size: 369 Bytes
Contents
require 'spec_helper' RSpec.describe NewspaperWorks::NewspaperCoreFormData do before do allow(described_class).to receive(:model_class).and_return(NewspaperArticle) end describe '.build_permitted_params' do subject { described_class.build_permitted_params } it { is_expected.to include(place_of_publication_attributes: [:id, :_destroy]) } end end
Version data entries
3 entries across 3 versions & 1 rubygems