Sha256: 05e7e192c9575566cbae4b658943583b2d8ea732331c749e358b5addbeb169a0

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require 'fog/schema/data_validator'
require File.join(File.dirname(Gem::Specification.find_by_name("fog").load_paths.first),"tests","helpers","formats_helper")

Dir[File.join(File.dirname(__FILE__),"formats","**","*.rb")].each { |f| require f }

RSpec::Matchers.define :be_formatted_like do |expected|
  match do |actual|
    @validator = Fog::Schema::DataValidator.new
    @validator.validate(actual, expected, {})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opennorth-represent-0.1.0 spec/support/formats_matcher.rb