Displaying 1 result from an estimated 1 matches for "roles_proxi".
Did you mean:
roles_proxy
2007 Jan 29
0
mock.with(Hash) expects an Array ?
Hi all,
I looked at the open issues on the bug tracker, but couldn''t find
anything related to this. I also searched the archives. And I can''t
believe someone didn''t hit on this before.
Here''s my spec:
context "A project owner" do
controller_name :roles
setup do
controller.stub!(:current_user).and_return(@user = mock("user"))