mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Bump rails to 7 and get tests passing. Also modified rakefile so rake
command would continue to run rspec as the default command. Added stylesheets to assets.rb so they'll be included when precompiling assets in production.
This commit is contained in:
parent
24f22d3c46
commit
b111b2f106
16 changed files with 113 additions and 93 deletions
11
Rakefile
11
Rakefile
|
|
@ -2,5 +2,14 @@
|
|||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
||||
|
||||
require_relative 'config/application'
|
||||
|
||||
Rails.application.load_tasks
|
||||
|
||||
begin
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
# task(:default).clear
|
||||
task default: :spec
|
||||
rescue LoadError => e
|
||||
raise e unless ENV['RAILS_ENV'] == 'production'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue