diff options
| author | Teddy Wing | 2017-08-02 11:56:03 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-08-02 11:58:34 +0200 |
| commit | 9c485dce0e738dc94ad09db270f35c367264b5c5 (patch) | |
| tree | 1e1cc0a1ed496d16c33dd860466f3e4f490fd037 /app/controllers/errors_controller.rb | |
| parent | e78c3241049cf29028138eee95f2af55d8fcfdd0 (diff) | |
| download | chouette-core-9c485dce0e738dc94ad09db270f35c367264b5c5.tar.bz2 | |
Import spec: Convert helper methods to shared examples
At Robert's suggestion, convert these methods to RSpec shared examples.
I had thought about using shared examples when I originally wanted to
write these tests, but was trying to get things working quickly and
couldn't figure out how to use them at the time, so I went with
something that seemed obvious to me and worked. Now we can take
advantage of the testing DSL available.
Refs #3509, #3511
Diffstat (limited to 'app/controllers/errors_controller.rb')
0 files changed, 0 insertions, 0 deletions
