Sha256: a672887b26e8d9c959f1ffa84e4b154c2b91788db0ddea099ca60347a9471fb4

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

if ENV["TRAVIS"]
  require 'coveralls'
  Coveralls.wear!('rails')
end

require 'action_controller_tweaks'

require 'fixtures/application'
require 'fixtures/controllers'
require 'rspec/rails'

require 'timecop'
require 'logger'


# For comparison
class Hash
  def deep_include?(sub_hash)
    sub_hash.keys.all? do |key|
      self.has_key?(key) && if sub_hash[key].is_a?(Hash)
        self[key].is_a?(Hash) && self[key].deep_include?(sub_hash[key])
      else
        self[key] == sub_hash[key]
      end
    end
  end
end

RSpec.configure do |config|
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
action_controller_tweaks-0.3.0 spec/spec_helper.rb
action_controller_tweaks-0.2.0 spec/spec_helper.rb