Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Remarkable Matchers for Mongoid

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 HISTORY.txt
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.