mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
some basic tests for admin/users controller, fixed bug in admin/users controller for displaying users
Fixes by hounci violations
This commit is contained in:
parent
7573a19240
commit
f84f3b97a7
7 changed files with 64 additions and 6 deletions
|
|
@ -1,5 +1,4 @@
|
|||
RSpec.configure do |config|
|
||||
|
||||
config.before(:suite) do
|
||||
DatabaseCleaner.clean_with(:truncation)
|
||||
end
|
||||
|
|
@ -7,8 +6,8 @@ RSpec.configure do |config|
|
|||
config.before(:each) do
|
||||
DatabaseCleaner.strategy = :transaction
|
||||
end
|
||||
|
||||
config.before(:each, js: true) do
|
||||
|
||||
config.before(:each, :js => true) do
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue