Sha256: 24a5c11e6df507228252ad885304a643bbce6116c2ab952aa429e16a4a764efa

Contents?: true

Size: 618 Bytes

Versions: 10

Compression:

Stored size: 618 Bytes

Contents

# require 'codeclimate-test-reporter'
# ::CodeClimate::TestReporter.start

require 'coveralls'
Coveralls.wear!

require 'bundler/setup'
Bundler.setup

require 'rspec'
require 'libis-services'

def check_container(expected, result)
  case expected
    when Array
      expect(result).to be_a Array
      expected.each_with_index { |value, i| check_container(value, result[i]) }
    when Hash
      expect(result).to be_a Hash
      expected.each_key do |key|
        expect(result[key]).not_to be_nil
        check_container(expected[key], result[key])
      end
    else
      expect(result).to eq expected
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
libis-services-0.1.11 spec/spec_helper.rb
libis-services-0.1.10 spec/spec_helper.rb
libis-services-0.1.9 spec/spec_helper.rb
libis-services-0.1.7 spec/spec_helper.rb
libis-services-0.1.5 spec/spec_helper.rb
libis-services-0.1.3 spec/spec_helper.rb
libis-services-0.1.2 spec/spec_helper.rb
libis-services-0.1.1 spec/spec_helper.rb
libis-services-0.1.0-java spec/spec_helper.rb
libis-services-0.0.3 spec/spec_helper.rb