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
2f27a86034
Replace deprecated capybara only_path option for ignore_query
2018-01-11 00:07:56 +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
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
Bertocq
22822aa173
Fix Style/RedundantParentheses rubocop issues
2017-09-25 22:44:58 +02:00
Alberto Garcia Cabeza
abad54d01a
Updates tests with new texts
2015-10-28 12:47:51 +01:00
Juanjo Bazán
6bf8af3526
show info of hidden users in admin/organizations
2015-09-08 18:06:23 +02:00
Juanjo Bazán
63378ba24c
makes 'pending' filter the default in /admin/orgs
2015-09-04 22:39:07 +02:00
kikito
8b16ecfcf9
fixes typo and specs
2015-09-04 15:36:54 +02:00
kikito
dd4a2d57cf
makes admin/organization specs more robust
2015-09-04 15:32:15 +02:00
Juanjo Bazán
f02f1a9888
adds extra expect in spec to avoid loadtime errors
2015-09-01 17:54:09 +02:00
Juanjo Bazán
0f1329fa85
implements organizations search for admins
2015-08-29 16:30:32 +02:00
kikito
e07ae71fff
Refactors query-parameter-related tests
2015-08-27 19:05:50 +02:00
kikito
9785749057
Refactors organization factories & admin controller
2015-08-22 19:46:28 +02:00
kikito
5c3f664da4
Fixes links in Admin::Organizations to handle filters + pages
2015-08-20 00:50:50 +02:00
kikito
1c435eacbe
adds filters to admin/organizations
2015-08-17 14:25:43 +02:00
kikito
3096a73892
Moves organization verification to Admin from Moderation
2015-08-17 13:22:38 +02:00