diff --git a/Gemfile b/Gemfile
index 126b84aa..79d31939 100644
--- a/Gemfile
+++ b/Gemfile
@@ -35,8 +35,6 @@ gem "view_component"
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false
-
-gem 'dotenv-rails', groups: [:development, :test]
gem "faker"
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
@@ -46,6 +44,7 @@ group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri windows ]
gem "bullet"
+ gem 'dotenv-rails'
end
group :development do
@@ -70,4 +69,5 @@ group :test do
gem "timecop"
gem "webmock"
gem "vcr"
+ gem 'rails-controller-testing'
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 7ec1c3a0..ddea33a6 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -213,6 +213,10 @@ GEM
activesupport (= 7.1.2)
bundler (>= 1.15.0)
railties (= 7.1.2)
+ rails-controller-testing (1.0.5)
+ actionpack (>= 5.0.1.rc1)
+ actionview (>= 5.0.1.rc1)
+ activesupport (>= 5.0.1.rc1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
@@ -345,6 +349,7 @@ DEPENDENCIES
puma (>= 5.0)
rack-cors
rails (= 7.1.2)
+ rails-controller-testing
rspec-rails
selenium-webdriver
shoulda-matchers (~> 5.0)
diff --git a/app/components/clients/list_item_component.html.erb b/app/components/clients/list_item_component.html.erb
new file mode 100644
index 00000000..7366b2e7
--- /dev/null
+++ b/app/components/clients/list_item_component.html.erb
@@ -0,0 +1,25 @@
+
- <%= render(Settings::Users::StatusComponent.new(status: user_status)) %>
+ <%= render(Shared::StatusComponent.new(status: user_status)) %>