Open ghost opened 14 years ago
Hey Ben,
Looks like Remarkable kinda died after shoulda announced it will be transforming into RSpec matchers. You can see see the details here:
http://robots.thoughtbot.com/post/701863189/shoulda-rails3-and-beyond
Although I believe remarkable is a better matcher library, shoulda does work.
Hope that helps.
I just upgraded to ruby 1.9.2 and I'm having all kinds of issues with remarkable. I've tried everything. I finally solved them, but I do not think its the right solution. Here's whats been happening:
describe InvoiceItem do context "validations" do it { should validate_presence_of(:description) } end end
Gives me the following error: wrong number of arguments (1 for 0)
The fix:
it { InvoiceItem.new.should validate_presence_of(:description) }
Doing:
it { InvoiceItem.should validate_presence_of(:description) }
Gives me the following error: undefined method `description=' for #Class:0x00000102f324d0
Any idea whats going on here? In 1.9.1 it was all working fine. 1.9.2 I'm getting these strange errors.
Thanks for your help.