Sasi Olin
e85ecede4c
Fix the test failures
2022-03-30 12:39:01 +02:00
Andrew Kvalheim
7e9ce60293
Partially revert "Skip some failing specs..."
...
This reverts the skipping of tests by commit b688d353ac in:
- `spec/models/user_spec.rb`
- `spec/controllers/admin/users_controller_spec.rb`
- `spec/datatables/user_datatable_spec.rb`
2022-03-08 17:18:34 -08:00
Henne Vogelsang
0104671e01
Stop validating factories in specs
...
We do validate all of them in a before(:suite) already.
2021-08-18 14:03:14 +02:00
Henne Vogelsang
b688d353ac
Skip some failing specs...
2021-03-06 02:41:07 +01:00
Ana María Martínez Gómez
d1180e2767
Use keyword arguments in tests
...
Raisl 5.1 removes support for non-keyword arguments in `#process`,
`#get`, `#post`, `#patch`, `#put`, `#delete`, and `#head` for the
`ActionDispatch::IntegrationTest` and `ActionController::TestCase`
classes. This means we have to add `params` everywhere in the controller
tests.
2019-05-14 14:10:36 +02:00
James Mason
6d31dfeef4
Add frozen_string_literal magic comment
...
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
Eugene Dubinin
93404d543f
implement user creation by admin
2017-05-08 22:54:02 +03:00
Sunny
03fa299058
enable style/dotposition rubocop cop
2017-04-06 23:19:58 -04:00
shlok007
c50e8c0466
Implemented ability of admins to manually confirm users
2016-08-16 02:23:41 -04:00
Stella Rouzi
355ecc0ac6
Introduce strong parameters
2015-12-23 11:36:50 +02:00
Stella
80fbc144ac
remove user deletion until further notice
2015-01-18 22:01:05 +02:00
Stella Rouzi
0d51220a8c
load seeds before tests
2014-11-12 16:22:53 +02:00
Stella
aa0005ef6e
not using real emails/domains in tests
2014-11-12 13:20:51 +02:00
Stella Rouzi
e2fb434dc7
Implement role authorization
2014-08-13 22:53:13 +03:00
Artem Chernikov
494003892c
add skipped empty lines
2014-07-03 11:18:33 +02:00
Gopesh Tulsyan
9f4325fd12
houndci fixes
2014-06-02 18:22:55 +05:30
Gopesh Tulsyan
f84f3b97a7
some basic tests for admin/users controller, fixed bug in admin/users controller for displaying users
...
Fixes by hounci violations
2014-06-02 18:22:55 +05:30