Henne Vogelsang
0104671e01
Stop validating factories in specs
...
We do validate all of them in a before(:suite) already.
2021-08-18 14:03:14 +02:00
James Mason
7a04f3582f
Remove travel schedule from registration
...
(cherry picked from commit d18cc02f0185df39bb4213d8a63a955dfb433dcb)
Re: https://github.com/openSUSE/osem/issues/2333
2021-03-06 04:09:02 +01:00
James Mason
8b12b1662d
Unlint Rspec/DescibeClass #BetterPlace
2018-11-06 08:19:01 -08:00
Henne Vogelsang
fb2612ecaf
Simplify set_week callbacks
...
Changes to :week are already ignored py paper_trail. No need to wrap this in a
`without_versioning`. Also drop the reader in `Registration` and the tests. Why
write this into the DB but never read it again? Why test standard
ruby/activerecord stuff.
2018-09-04 21:12:46 +02:00
James Mason
6d31dfeef4
Add frozen_string_literal magic comment
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
rahul
48accd02ae
Fix warning in rspec
2017-08-22 21:42:56 +05:30
AEtherC0r3
a1124546f1
Fix rspec tests because of the changes to the cfp
...
Remove redundant association
Note: a conference created with :full_conference already has a cfp
2017-06-27 21:16:46 +03:00
Rishabh Saxena
d1c0c7d97a
registration#delete: retain ticket purchases
2016-09-26 20:57:11 +05:30
Stella Rouzi
01ec43e53a
Registration for Events
2016-04-26 16:11:40 +03:00
Stella Rouzi
b9e10922ee
drop dietary choices, social events, and html_export_path
2016-04-09 16:29:20 +03:00
Aditya Prakash
07d674ee2b
Add model test for registration
2016-03-17 14:37:30 +05:30
Rishabh Saxena
8334619029
callback for destroying registration and writing tests for it
...
writing tests for deleting tickets after unregistering
removing code duplication in tests
2016-03-16 23:31:57 +05:30
David Sedeño
28fbc518f3
Add registration_limit to conference model. Added the input for registration limit in the edit conference form. In the controller, if the limit has exceeded redirect to root_path with an alert. fix #761
2016-02-10 15:59:39 +01:00