I'm seeing the same behaviour where the expected SQL is identical to
the received SQL, but the spec fails.
rails (3.0.3)
rspec (2.3.0)
remarkable_activemodel (4.0.0.alpha4)
remarkable_activerecord (4.0.0.alpha4)
On Jan 15, 1:24 am, ericindc <
ericmilf...@gmail.com> wrote:
> So it looks likehave_scopeand have_default_scope both don't work.
> Is there a solution to this? Thanks.
>
> On Jan 14, 7:04 pm, ericindc <
ericmilf...@gmail.com> wrote:
>
>
>
> > I'm not sure how to gethave_scopepassing. I'm on Rails 3.0.3 with
> > using the alpha4 version of remarkable_activerecord. According to the
> > docs, what I have should work.
>
> > Failure/Error: it { shouldhave_scope(:latest).limit(3) }