Sha256: 419f75c4065ae40498c90e41e54c1fd2cd6b875867bbea242375eb3470f36308
Contents?: true
Size: 470 Bytes
Versions: 39
Compression:
Stored size: 470 Bytes
Contents
# Generated via # `rails generate active_fedora::model <%= class_name %>` require 'spec_helper' require 'active_fedora/test_support' describe <%= class_name %> do include ActiveFedora::TestSupport subject { <%= class_name %>.new } it 'should persist to Fedora' do subject.save! expect { subject.reload }.to_not raise_error(ActiveFedora::ObjectNotFoundError) assert_rels_ext_has_model(subject, JournalEntry) subject.destroy end end
Version data entries
39 entries across 39 versions & 1 rubygems