Javi Martín
9f64129be5
Remove isolated useless assignments
...
These variables can be considered a block, and so removing them doesn't
make the test much harder to undestand.
Sometimes these variables formed the setup, sometimes they formed an
isolated part of the setup, and sometimes they were the part of the test
that made the test different from other tests.
2019-09-30 15:47:13 +02:00
Javi Martín
f27beb1e47
Simplify testing array contents
...
We were testing for the size and the content of the elements when we
could test for the array itself.
2019-09-24 21:32:52 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Bertocq
ed16a78f42
Enables RSpec/ExampleWording and fixes all issues
...
Both avoiding 'should' and repiting 'it' on the tests description
improves reading them and also makes all descriptions consistent.
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording
2018-01-07 01:03:45 +01:00
taitus
da7b53acf4
Refactor spec.
2017-09-05 13:30:45 +02:00
taitus
3516c651c1
Fix community particpants spec
2017-09-05 12:55:12 +02:00
taitus
dcaa10147a
Relocate User model spec to Community model spec.
2017-09-05 12:54:32 +02:00
taitus
4539c5fa00
Refactor and tests.
2017-09-05 12:52:14 +02:00