Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.5.1
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (26 sloc) 0.734 kb

remarkable_mongoid

NOTE: This gem is based upon the 2.0 beta of Mongoid and the 4.0 alpha of Remarkable

RSpec Matchers for Mongoid

Matchers

Fields

  • have_field

Associations

  • reference_one
  • reference_many
  • be_referenced_in
  • embed_one
  • embed_many
  • be_embedded_in

Validations

Installation

gem install remarkable_mongoid

Usage

require 'remarkable/mongoid'

describe Book do
  it { should reference_one :author }
end

Copyright

Copyright (c) 2010 - 2011 Brian Cardarella. See LICENSE for details.

Jump to Line
Something went wrong with that request. Please try again.