Bertocq
3509bfe3e4
Remove spending proposals from sitemap and its test, deprecated model
2018-01-07 15:38:44 +01:00
BertoCQ
abfa203f5c
Merge pull request #2249 from wairbut-m2c/aperez-sitemap-specs
...
Specs for valid sitemap generation
2018-01-07 11:24:43 +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
Bertocq
de2816a6a5
Enable RSpec/BeforeAfterAll rule and fix all issues
...
This cop tries to avoid state leaking between examples. The fixes done on the code don't follow the suggested path, since the usage of `before(:all)` was not really useful. By using RSpec's `let` method we achieve same goals but with much better and readable tests.
Check Cop description at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeforeAfterAll
2018-01-06 21:16:00 +01:00
Angel Perez
6107f51b19
Add specs for valid sitemap generation ( #2219 )
2018-01-05 15:16:41 -04:00
Angel Perez
cd8d1706f9
Add spec for 'rake db:dev_seed' task
2017-12-18 08:59:39 -04:00
Bertocq
e4e78c8f16
Rubocop autocorrections
2017-09-14 15:08:35 +02:00
taitus
56eb30cc87
Add associate community rake task.
2017-09-05 12:55:12 +02:00
Bertocq
8b063a1bc1
Create spec for the new settings migration rake task
2017-06-07 20:56:49 +02:00