Sha256: 6116db58ee8559f39a52ecea99573e483194538aee5c450a897213d9a6e70b19
Contents?: true
Size: 333 Bytes
Versions: 12
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DHS::Record do context 'model_name' do before do class LocalEntry < DHS::Record endpoint '{+datastore}/local-entries' end end it 'provides a model name' do expect(LocalEntry.model_name.name).to eq 'LocalEntry' end end end
Version data entries
12 entries across 12 versions & 1 rubygems