Javi Martín
91c21b0982
Remove instance variables in RSpec
...
Instance variables might lead to hard-to-detect issues, since using a
nonexistent instance variable will return `nil` instead of raising an
error.
2019-09-30 16:43:10 +02:00
Javi Martín
71d9ddd849
Apply rule to end files with a newline character
2019-09-10 20:02:15 +02:00
Javi Martín
307cf24846
Use describe on feature tests
...
The `type: :feature` is automatically detected by RSpec because these
tests are inside the `spec/features` folder. Using `feature` re-adds a
`type: :feature` to these files, which will result in a conflict when we
upgrade to Rails 5.1's system tests.
Because of this change, we also need to change `background` to `before`
or else these tests will fail.
2019-05-28 16:36:54 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Bertocq
34bb9d65b1
Enable RSpec/NotToNot cop and fix all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot
2018-01-07 17:39:48 +01:00
Alberto Garcia Cabeza
4ab9a417fb
updates specs
2016-12-28 14:04:28 +01:00
Alberto Garcia Cabeza
10c44a077b
updates specs
2016-12-16 15:19:04 +01:00
Juanjo Bazán
891516a0b9
changes officer assignments to polls via new model/relation
2016-12-06 14:33:06 +01:00
rgarcia
5ba72f0fe3
assigns officers to booths
2016-11-14 13:58:00 +01:00
rgarcia
1ca821c520
creates polling officers from admin
2016-11-14 13:51:09 +01:00