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
decabeza
0c704c2f06
Replace i18n destroy to delete
2019-05-17 17:41:38 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Bertocq
7f14544f71
Enable Capybara/CurrentPathExpectation cop & fix issues
...
Read cop description http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation to better understand reasons behind enforcing this rule
On some cases the `only_path: true` was needed as argument of `have_current_path` matcher to avoid comparing the url parameters and just checking the path.
2018-01-06 23:31:41 +01:00
Raimond Garcia
9ba8ca7de3
Merge pull request #2187 from consul/notifications
...
Fix notifications' exceptions
2017-12-14 22:11:27 +01:00
rgarcia
2b52d26d82
refactors notifications into concerns and shared examples
2017-12-14 16:15:30 +01:00
Bertocq
a71ad644c5
Fix community topics specs
2017-12-14 13:51:10 +01:00
taitus
9b6b57a24c
Remove all white spaces
2017-09-06 14:12:32 +02:00
taitus
64774b0d2d
Refactor topics controller. Add Common abilities. Add destroy action.
2017-09-06 13:30:12 +02:00
taitus
4539c5fa00
Refactor and tests.
2017-09-05 12:52:14 +02:00