spree-contrib/spree_store_credit_payment_method — pull request #7 by gmacdougall (2014-08-12 16:49:28+00:00)
Title: Compare state directly in specs.

Previously this test used the invalid? method definition from state machine
which conflicted with a method from ActiveModel. Instead of dealing with that
issue, we will compare the state directly to what it should be rather than
relying upon the magic methods defined by state_machine.

Fixes #5