On Friday, August 8, 2014 11:12:08 AM UTC-7, Roelof Wobben wrote:
>
> Found one.
>
> I now use this one : 
>
> RSpec.describe Admin do
>   it { is_expected.to respond_to(:name) }
>   it { is_expected.to respond_to(:password) }
>   it { is_expected.not_to respond_to(:to_model) }
>   it { is_expected.not_to respond_to(:compact, :flatten) }
> end
>
> but then I see this error message 
> :   uninitialized constant Admin (NameError)
>
> Does Devise not make the controller because I do not see any controller 
> made by Devise.
>
> Roelof
>

The error indicates that there isn't an `Admin` constant.  You'll need to 
define one and/or load the file that already defines it.

Re: Devise...you should ask on the devise mailing list.  I have no idea.

Myron

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/a8d3ae0d-a82d-480d-bd4b-6db1eb2d5858%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to