Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate_numericality_of(:amount).greater_than_or_equal_to(0) #29

Open
bitcoiners opened this issue Sep 5, 2011 · 0 comments
Open

validate_numericality_of(:amount).greater_than_or_equal_to(0) #29

bitcoiners opened this issue Sep 5, 2011 · 0 comments

Comments

@bitcoiners
Copy link

Hello,
Trying out remarkable with rails 3.1 app
my Gemfile
..
gem "rspec"
gem "rspec-rails"
gem "remarkable_activerecord", "~> 4.0.0.alpha4"

spec_helper
..
require 'rspec/rails'
require 'remarkable/active_record'

a model spec
..
it { should
validate_numericality_of(:amount).greater_than_or_equal_to(0) }

Get this error:

Failure/Error: it { should
validate_numericality_of(:amount).greater_than_or_equal_to(0) }
NoMethodError:
undefined method `greater_than_or_equal_to' for

RSpec::Matchers::Matcher:0xfa8e92c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant