summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Add license header to source files.HEADmasterHarald Eilertsen2018-09-219-0/+144
|
* Validate contact phone and email.Harald Eilertsen2017-10-021-0/+20
|
* Add test dependency to rspec-html-matchersHarald Eilertsen2017-09-101-0/+2
|
* Validate postcode properly.Harald Eilertsen2017-09-093-0/+43
| | | | Don't accept invalid postcodes, or postcodes containing invalid chars.
* Split contact address into street, postcode and city.Harald Eilertsen2017-09-094-6/+14
|
* Fix specs.Harald Eilertsen2016-09-161-2/+2
|
* Redirect to registrations closed message instead of modifying body.Harald Eilertsen2016-08-161-7/+7
|
* Move registration open check to before filter.Harald Eilertsen2016-08-162-69/+101
|
* Fix remaining tests.Harald Eilertsen2016-08-161-0/+5
|
* Determine if registrations are open or not from config.Harald Eilertsen2016-08-161-12/+36
|
* Reenable registration form and make tests pass.Harald Eilertsen2016-08-091-6/+6
|
* Make rspec output nicer.Harald Eilertsen2015-11-211-18/+16
|
* revert back to form if email delivery fails.Harald Eilertsen2015-11-211-0/+30
|
* Typo in spec.Harald Eilertsen2015-11-211-1/+1
|
* Sanitize filename of pdf file before creating it.Harald Eilertsen2015-11-212-2/+21
|
* Fix numbering of song forms.Harald Eilertsen2015-11-011-0/+6
|
* Include full url in sent email.Harald Eilertsen2015-11-011-5/+12
|
* Move PDF file output to public/uploadsHarald Eilertsen2015-10-311-1/+1
|
* Make the form look a bit nicer again.Harald Eilertsen2015-10-302-2/+2
| | | | Made the song fields align under each other again.
* Simplify form: Don't mess with adding songs, display them all at once.Harald Eilertsen2015-10-302-6/+0
|
* Simplify form: Just use a textarea for members.Harald Eilertsen2015-10-304-31/+4
|
* Retain member and song info on errors in form.Harald Eilertsen2015-10-284-40/+53
|
* Check against right var in spec.Harald Eilertsen2015-10-151-1/+1
|
* Preserve info when redisplaying form on errors.Harald Eilertsen2015-10-131-40/+38
|
* Validate presence of contact info when submitting form.Harald Eilertsen2015-10-102-10/+30
|
* Reject bands with no nameHarald Eilertsen2015-10-102-14/+32
|
* Don't display error message when there's no errors.Harald Eilertsen2015-10-101-0/+4
|
* Add parens to avoid some jEdit warnings.Harald Eilertsen2015-10-101-26/+26
|
* Rerender form instead of redirecting on error.Harald Eilertsen2015-10-101-2/+1
|
* Add submit form helper to specs.Harald Eilertsen2015-10-062-0/+40
|
* Test that we get an error message when submitting an empty formHarald Eilertsen2015-10-061-21/+35
|
* 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-061-0/+42
|
* Install Capybara and Selenium for more advanced tests.Harald Eilertsen2015-10-061-0/+3
|
* Switch to use session to send errors back to form.Harald Eilertsen2015-10-051-0/+1
|
* Redirect back to form and display error if no songs specified.Harald Eilertsen2015-10-051-0/+19
|
* Refactor generation of band params for test into factory.Harald Eilertsen2015-10-053-42/+67
|
* Flesh out PDF generation.Harald Eilertsen2015-10-041-3/+5
|
* Add dummy method to generate PDF from registration data.Harald Eilertsen2015-10-041-1/+11
|
* Send email to Norsk Urskog when a band is registered.Harald Eilertsen2015-10-042-0/+18
|
* Add route to handle submitted form.Harald Eilertsen2015-10-031-1/+91
|
* Transform to a Sinatra appHarald Eilertsen2015-10-032-0/+17