lib/valkyrie/specs/shared_specs/storage_adapter.rb in valkyrie-1.1.2 vs lib/valkyrie/specs/shared_specs/storage_adapter.rb in valkyrie-1.2.0.rc1

- old
+ new

@@ -4,10 +4,9 @@ raise 'storage_adapter must be set with `let(:storage_adapter)`' unless defined? storage_adapter raise 'file must be set with `let(:file)`' unless defined? file class CustomResource < Valkyrie::Resource - attribute :id, Valkyrie::Types::ID.optional end end after do Object.send(:remove_const, :CustomResource) end