Skip to content

Commit

Permalink
add users to rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed Sep 20, 2024
1 parent 8c84239 commit 5b51bd1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand All @@ -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

0 comments on commit 5b51bd1

Please sign in to comment.