Sha256: 0e9a797139d2e4d9c49f6c035f52bf7ea72424eeec9348485dbdadd4403054cc

Contents?: true

Size: 307 Bytes

Versions: 130

Compression:

Stored size: 307 Bytes

Contents

require 'rails_helper'

describe LHS::Record do
  context 'model_name' do
    before(:each) do
      class LocalEntry < LHS::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

130 entries across 130 versions & 1 rubygems

Version Path
lhs-14.6.5 spec/record/model_name_spec.rb
lhs-14.6.4 spec/record/model_name_spec.rb
lhs-14.6.3 spec/record/model_name_spec.rb
lhs-14.6.2 spec/record/model_name_spec.rb
lhs-14.6.1 spec/record/model_name_spec.rb
lhs-14.6.0 spec/record/model_name_spec.rb
lhs-14.5.0 spec/record/model_name_spec.rb
lhs-14.4.0 spec/record/model_name_spec.rb
lhs-14.3.4 spec/record/model_name_spec.rb
lhs-14.3.3 spec/record/model_name_spec.rb
lhs-14.3.2 spec/record/model_name_spec.rb
lhs-14.3.1 spec/record/model_name_spec.rb
lhs-14.3.0 spec/record/model_name_spec.rb
lhs-14.2.0 spec/record/model_name_spec.rb
lhs-14.1.1 spec/record/model_name_spec.rb
lhs-14.1.0 spec/record/model_name_spec.rb
lhs-14.0.3 spec/record/model_name_spec.rb
lhs-14.0.2 spec/record/model_name_spec.rb
lhs-14.0.1 spec/record/model_name_spec.rb
lhs-14.0.0 spec/record/model_name_spec.rb