Sha256: c082131404c2195fc32b03da1a86a001a77c3f1673ffaf9e7dde1432f9fcca76

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# Load Remarkable
require 'remarkable/active_model'
require 'remarkable/active_record/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_record', 'matchers', '*.rb')].each do |file|
  require file
end

Remarkable.include_matchers!(Remarkable::ActiveRecord, Rspec::Core::ExampleGroup)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remarkable_activerecord-4.0.0.alpha2 lib/remarkable/active_record.rb