File: autoload_spec.rb

package info (click to toggle)
ruby-hashie 5.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 884 kB
  • sloc: ruby: 7,049; sh: 8; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 1,116 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'spec_helper'
require 'hashie'

describe Hashie::Extensions do
  describe 'autloads constants' do
    it { is_expected.to be_const_defined(:MethodAccess) }
    it { is_expected.to be_const_defined(:Coercion) }
    it { is_expected.to be_const_defined(:DeepMerge) }
    it { is_expected.to be_const_defined(:IgnoreUndeclared) }
    it { is_expected.to be_const_defined(:IndifferentAccess) }
    it { is_expected.to be_const_defined(:MergeInitializer) }
    it { is_expected.to be_const_defined(:MethodAccess) }
    it { is_expected.to be_const_defined(:MethodQuery) }
    it { is_expected.to be_const_defined(:MethodReader) }
    it { is_expected.to be_const_defined(:MethodWriter) }
    it { is_expected.to be_const_defined(:StringifyKeys) }
    it { is_expected.to be_const_defined(:SymbolizeKeys) }
    it { is_expected.to be_const_defined(:DeepFetch) }
    it { is_expected.to be_const_defined(:DeepFind) }
    it { is_expected.to be_const_defined(:PrettyInspect) }
    it { is_expected.to be_const_defined(:KeyConversion) }
    it { is_expected.to be_const_defined(:MethodAccessWithOverride) }
  end
end