Sha256: eafefe229be80bdeaea39b4674a32ab124e1fe754d335235a5000c9d7de7af17

Contents?: true

Size: 402 Bytes

Versions: 6

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

6 entries across 6 versions & 5 rubygems

Version Path
specstar-remarkable-0.0.0 lib/remarkable/active_record.rb
maksar-remarkable_activerecord-4.0.0.alpha6 lib/remarkable/active_record.rb
schubert-remarkable_activerecord-4.0.0.alpha4 lib/remarkable/active_record.rb
benhutton-remarkable_activerecord-4.0.0.alpha6 lib/remarkable/active_record.rb
remarkable_activerecord-4.0.0.alpha4 lib/remarkable/active_record.rb
remarkable_activerecord-4.0.0.alpha3 lib/remarkable/active_record.rb