Sha256: 3690c86aba6234d8fa2897747a84fd69ca50a1c1e9027727a83d643d1e545581

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

RSpec.describe ActiveRecord::Base, :unit do
  describe '.pg_enum' do
    it 'is defined' do
      expect(described_class).to respond_to(:pg_enum)
    end
  end

  describe '.pg_enum_values' do
    it 'is defined' do
      expect(described_class).to respond_to(:pg_enum_values)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enum_kit-0.3.1 spec/active_record/base_spec.rb
enum_kit-0.3.0 spec/active_record/base_spec.rb
enum_kit-0.2.3 spec/active_record/base_spec.rb
enum_kit-0.2.2 spec/active_record/base_spec.rb
enum_kit-0.2.1 spec/active_record/base_spec.rb