From 5b51bd1367aa29f17b31accc65257ee20fef90c6 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Fri, 20 Sep 2024 14:22:05 +0100 Subject: [PATCH] add users to rakefile --- Rakefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index cfb21bf..fdc75d1 100644 --- a/Rakefile +++ b/Rakefile @@ -20,7 +20,7 @@ end namespace :spec do host = ENV['TARGET_HOST'] || '10.1.209.20' - task all: %i[services configuration] + task all: %i[services configuration users] desc 'run configuration tests' RSpec::Core::RakeTask.new(:configuration) do |t| @@ -42,4 +42,11 @@ namespace :spec do t.pattern = 'spec/modules/monitor/*_spec.rb' t.rspec_opts = '--format documentation' # O "--format progress" end + + desc 'run user tests' + RSpec::Core::RakeTask.new(:users) do |t| + puts "Running user tests on #{host} ..." + t.pattern = 'spec/users/*_spec.rb' + t.rspec_opts = '--format documentation' # O "--format progress" + end end