thoughtbot/shoulda-matchers — Issue #46: Allow value for multiple fields...useful?
Author: leesmith
Created: 2012-01-24 20:07:53+00:00
State: open

I'm trying to figure out if I'm just doing this wrong or if this be a useful feature:

it { should allow_value('CA').for(:school_state, :ship_state) }

instead of

it { should allow_value('CA').for(:school_state) }
it { should allow_value('CA').for(:ship_state) }

Thanks!