Skip to content
Remarkable Matchers for Mongoid
Ruby
Find file
Latest commit e1d6d72 Mar 18, 2011 @bcardarella Version bump
Failed to load latest commit information.
lib/remarkable Version bump Mar 18, 2011
spec Allow arrays as scopes for validates_uniqueness_of Mar 18, 2011
.gitignore Added YARD documention for field and relations Jan 29, 2011
.rvmrc Renamed to remarkable_mongoid to follow the Remarkable naming convent… Jul 10, 2010
Gemfile
HISTORY.txt
LICENSE Added documentation for Validations Jan 29, 2011
README.markdown Version bump Mar 18, 2011
Rakefile Rakefile fix Jan 29, 2011
remarkable_mongoid.gemspec

README.markdown

remarkable_mongoid

NOTE: This gem is based upon the 2.0 Release Candidate 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
  • reference_many_and_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.

Something went wrong with that request. Please try again.