Add tests to user model and admin panel requests

This commit is contained in:
riggraz
2019-08-23 15:58:43 +02:00
parent 33ba4771d7
commit 75893bc4fd
6 changed files with 100 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ require 'rspec/rails'
# directory. Alternatively, in the individual `*_spec.rb` files, manually
# require only the support files necessary.
#
# Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
# Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove these lines.