[rspec-users] array_including()

Zach Dennis zach.dennis at gmail.com
Wed Aug 27 12:52:16 EDT 2008

On Wed, Aug 27, 2008 at 12:28 PM, Matt Wynne <matt at mattwynne.net> wrote:
> On a similar vein, is there a neater way to express:
> assigns[:events].include?(@event_1).should be_true

assigns[:events].should include(@event_1)

Zach Dennis

More information about the rspec-users mailing list