validate_numericality_of(:amount).greater_than_or_equal_to(0)

65 views
Skip to first unread message

slavix

unread,
Sep 4, 2011, 1:58:55 AM9/4/11
to Remarkable
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>

Ho-Sheng Hsiao

unread,
Sep 5, 2011, 11:37:17 AM9/5/11
to Remarkable

I've been working on 3.1 support. Would you mind adding this into the
issue tracker on github? (remarkable/remarkable)

Ho-Sheng Hsiao
Reply all
Reply to author
Forward
0 new messages