forked from department-of-veterans-affairs/vets-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
31 lines (26 loc) · 954 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require_relative 'config/application'
# Load rake support files
Dir[Rails.root.join('lib', 'tasks', 'support', '**', '*.rb')].each { |f| require f }
Rails.application.load_tasks
unless Rails.env.production?
require 'rspec/core/rake_task'
task(:spec).clear
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = Dir.glob(
[
'spec/**/*_spec.rb',
'modules/vba_documents/spec/**/*_spec.rb',
'modules/appeals_api/spec/**/*_spec.rb',
'modules/claims_api/spec/**/*_spec.rb',
'modules/va_facilities/spec/**/*_spec.rb',
'modules/veteran/spec/**/*_spec.rb',
'modules/veteran_verification/spec/**/*_spec.rb',
'modules/openid_auth/spec/**/*_spec.rb'
]
)
t.verbose = false
end
end