rspec2, rails3

70 views
Skip to first unread message

linojon

unread,
Oct 20, 2010, 10:53:37 PM10/20/10
to Remarkable
Hi, has anyone here successfully installed remarkable with rspec2,
rails3?
when I add to spec_helper.rb
require 'remarkable/active_record'

i get "no such file to load " error

Also, the gem doesnt seem to be installing remarkable_activemodel
stuff

this is the first time i've tried using this gem

thx

rfichoke

unread,
Dec 29, 2010, 9:08:54 PM12/29/10
to remarka...@googlegroups.com
This is wrong on the wiki page.  It should be:

require 'remarkable_activerecord'

klochner

unread,
Jan 2, 2011, 3:04:00 PM1/2/11
to Remarkable
Can someone point me to an installation/setup page for rails3/
rspec2?

I have the remarkable & remarkable_activerecord 3.1.13 gems, and have
tried triangulating configuration from all the github README files,
but I'm unable to test associations or validations at all.

#gems:
remarkable (3.1.13)
remarkable_activerecord (3.1.13)
rspec (2.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
rspec-mocks (2.3.0)
rspec-rails (2.3.1)

#spec_helper.rb:
require 'rspec'
require 'rspec/rails'
require 'remarkable'
require 'remarkable_activerecord'

#output
1) User associations
Failure/Error: it {should have_many(:friends)}
undefined method `has_many?' for #<User:0x5019974>

- kevin
Reply all
Reply to author
Forward
0 new messages