Sounds good. Can we do something that ends "with in API descriptor
{Descriptor doc id)." ?


On Fri, May 30, 2014 at 8:15 AM, brutski <notifications@github.com> wrote:

> In spec/lib/crichton/representor_spec.rb:
>
> > @@ -395,8 +401,8 @@ def respond_to?(method)
> >            it 'raises an error' do
> >              @include_state = true
> >              expect { simple_test_class.new.each_transition.to_a }.to raise_error(
> > -               Crichton::RepresentorError,
> > -               /^No state method has been defined in the class ''.*/
> > +              Crichton::MissingStateError,
> > +              /^No state descriptor for transition drd -> default!.*/
>
> @fosdev <https://github.com/fosdev> How about: No state #{state.to_s}
> defined for resource #{parent_descriptor.name} in resource descriptor!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mdsol/crichton/pull/172/files#r13233345>.
>