Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RSpec Sequel Matchers
Ruby
tree: f85bb45c5d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION
rspec_sequel_matchers.gemspec

README.rdoc

rspec_sequel_matchers

Some Sequel Matchers for RSpec, using no other gem than rspec and sequel themself. As a consequence, you can use these matchers with Rails, Sinatra or any other framework.

Validation matchers assume that you're using the recommanded validation_helpers plugin.

Install

sudo gem install JonathanTron-rspec_sequel_matchers

Example usage

describe Item do
  it{ should have_column :name, :type => String }
  it{ should_not have_column :wrong_name }
  it{ should_validate_presence :name, :allow_nil => true }
end

Copyright

Copyright © 2009 Jonathan Tron - Joseph Halter. See LICENSE for details.

Something went wrong with that request. Please try again.