Sha256: 558929bea319885548bcfeedd753ad67958405d3d6ac11292d144424e7807b96

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

# Load Remarkable
require 'remarkable/core'
require 'remarkable/active_model/base'

# Add default locale
dir = File.dirname(__FILE__)
Dir["#{dir}/../../locale/*yml"].each {|f| Remarkable.add_locale(f) }

# Add matchers
Dir[File.join(dir, 'active_model', 'matchers', '*.rb')].each do |file|
  require file
end

Remarkable.include_matchers!(Remarkable::ActiveModel, RSpec::Core::ExampleGroup)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
remarkable_activemodel-4.0.0.alpha4 lib/remarkable/active_model.rb
remarkable_activemodel-4.0.0.alpha3 lib/remarkable/active_model.rb