Does anyone know how I can write a spec along the lines of this (but a
working implementation);
it "should not include inactive users" do
do_get
assigns[:results].should_not include(users(:inactive_user))
end
I'm a newbie so I'm not capable of explaining why it doesn't work, but
hopefully someone can set me straight.
Thanks
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users