bellycard / napa

A simple framework for building APIs with Grape
Other
329 stars 72 forks source link

Specs could use less repetition #239

Closed ochagata closed 8 years ago

ochagata commented 8 years ago

There are a lot of specs right now that use the same code over and over again, and this could be taken care of with a simple before statement

ochagata commented 8 years ago

https://github.com/bellycard/napa/blob/master/spec/middleware/authentication_spec.rb

Specifically this file