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 |
|
Bertocq
|
265d4d0967
|
Enables RSpec/DescribedClass cop & fixes all issues
Autocorrection for existing issues, and stashing at .rubocop_todo.yml
the false positives
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass
|
2018-01-07 00:38:19 +01:00 |
|
María Checa
|
1e23281c28
|
Fixed related content tests
|
2017-12-20 13:43:56 +01:00 |
|
María Checa
|
44f8494079
|
Fixed tests
|
2017-12-19 19:40:09 +01:00 |
|
María Checa
|
4192860a73
|
Added and improved related content tests
|
2017-12-18 23:56:44 +01:00 |
|
María Checa
|
97f74ac531
|
Renamed related content times_reported column to flags_count
|
2017-12-18 18:21:46 +01:00 |
|
Bertocq
|
cd021aee4b
|
Add relationed_contents helper function on Relationable concern with spec
|
2017-11-29 19:02:25 +01:00 |
|
Bertocq
|
0482eb4098
|
Add report_related_content helper funcion on Relationable concern with spec
|
2017-11-29 19:02:25 +01:00 |
|
Bertocq
|
04dfc98c3f
|
Create RelatedContent model spec to check relationable destroy
|
2017-11-29 19:01:50 +01:00 |
|
Bertocq
|
03f0534b2f
|
Add scenario to RelatedContent model spec to check opposite related content creation
|
2017-11-29 19:01:12 +01:00 |
|
Bertocq
|
f0dca7147b
|
Add basic RelatedContent model spec to check multiple models can be related
|
2017-11-29 19:01:04 +01:00 |
|