i’m using gem Remarkable activerecord for association. i’ve installed
remarkable and remarkable activerecrod both gem. i’ve added both gem in
my Gemfile. i’ve added “remarkable_activerecord” as required in
spec_helper.rb.
describe Authentication do
FactoryGirl.build(:authentication).should
belong_to(:user)
end
it “has a valid factory” do
FactoryGirl.create(:authentication).should
validate_presence_of(:uid)
end
i got error: : undefined method belong_to' and undefined methodvalidate_presence_of’