grape-entity icon indicating copy to clipboard operation
grape-entity copied to clipboard

Set error message

Open maxd opened this issue 11 years ago • 2 comments

Hi All,

Could you please specify message for error in this line.

Without it rspec display the following useless message in my case:

  1) ClientAPI::Plans GET /plans behaves like JSON200 behaves like SuccessJSON meta status
     Failure/Error: Unable to find matching line from backtrace
     ArgumentError:
       ArgumentError
     Shared Example Group: "SuccessJSON" called from ./spec/support/client_api_shared_examples.rb:23

Thanks

maxd avatar Aug 19 '14 15:08 maxd

That would be useful. Please do make a PR!

dblock avatar Aug 19 '14 16:08 dblock

I'm getting the same error. Is there a reason for this?

lukelex avatar Dec 07 '14 15:12 lukelex