summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Rerender form instead of redirecting on error.Harald Eilertsen2015-10-102-5/+2
|
* Use ajax to get member and song subforms.Harald Eilertsen2015-10-094-48/+87
| | | | | This instead of hard coding them in javascript. We will need the forms as ruby/erb templates anyways so no need to keep them two places.
* Add submit form helper to specs.Harald Eilertsen2015-10-062-0/+40
|
* In layout, display errors directly from @band.errorsHarald Eilertsen2015-10-061-3/+3
|
* Create empty band on GET indexHarald Eilertsen2015-10-061-1/+1
|
* Allow creation of bands with no params.Harald Eilertsen2015-10-061-18/+21
|
* Test that we get an error message when submitting an empty formHarald Eilertsen2015-10-062-23/+39
|
* Explicitly require tilt/erb to get rid of thread safety warning in specs.Harald Eilertsen2015-10-061-0/+1
|
* Remove some unnecessary requires from spec_helper.rbHarald Eilertsen2015-10-061-3/+0
|
* Move Prawn spy out to spec_helper.Harald Eilertsen2015-10-062-8/+5
| | | | | This stubs out the actual calls to prawn in all examples in the spec. We don't want to generate spurious PDF's during testing.
* Test entering the form including javascript stuff.Harald Eilertsen2015-10-063-32/+74
|
* Install Capybara and Selenium for more advanced tests.Harald Eilertsen2015-10-063-0/+29
|
* Switch to use session to send errors back to form.Harald Eilertsen2015-10-052-3/+6
|
* Redirect back to form and display error if no songs specified.Harald Eilertsen2015-10-055-6/+71
|
* Refactor generation of band params for test into factory.Harald Eilertsen2015-10-053-42/+67
|
* Add sinatra-url-for helper.Harald Eilertsen2015-10-052-0/+4
|
* Fix submitted view.Harald Eilertsen2015-10-041-2/+2
|
* Test PDF with two songs.Harald Eilertsen2015-10-041-0/+8
|
* Add intro/end-text and signature area to PDFHarald Eilertsen2015-10-041-0/+35
|
* Add page numbers to PDFHarald Eilertsen2015-10-041-0/+1
|
* Add submitted songs to PDFHarald Eilertsen2015-10-042-4/+20
|
* Make arrays render nicer in PDF, and tread contact address as arrayHarald Eilertsen2015-10-041-10/+18
|
* Flesh out PDF generation.Harald Eilertsen2015-10-046-6/+130
|
* Add dummy method to generate PDF from registration data.Harald Eilertsen2015-10-045-1/+24
|
* Send email to Norsk Urskog when a band is registered.Harald Eilertsen2015-10-047-4/+47
|
* Add route to handle submitted form.Harald Eilertsen2015-10-039-9/+205
|
* Separate out page header and boiler plate into layout.Harald Eilertsen2015-10-032-12/+13
|
* Transform to a Sinatra appHarald Eilertsen2015-10-0310-0/+75
|
* Initial commitHarald Eilertsen2015-10-033-0/+192