mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Moved rspec-rails declaration to development/test section of Gemfile. now runs tests without having to alter Rakefile.
This commit is contained in:
parent
ad14563460
commit
f04bc3ebcb
3 changed files with 10 additions and 20 deletions
10
Rakefile
10
Rakefile
|
|
@ -3,13 +3,3 @@
|
|||
|
||||
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