Skip to content

Commit

Permalink
fix dependency on rails/test_unit/sub_test_task
Browse files Browse the repository at this point in the history
Merge https://github.com/audionerd/draper/tree/rails5 to fix dependency
on rails/test_unit/sub_test_task

Fixes drapergem#681
  • Loading branch information
jwidderich committed Apr 7, 2016
2 parents 69b6dec + e816e0e commit 2d48d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/draper/tasks/test.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'rake/testtask'

test_task = if Rails.version.to_f < 3.2
test_task = if Rails.version.to_f < 3.2 || Rails.version.start_with?('5')
require 'rails/test_unit/railtie'
Rake::TestTask
else
Expand Down

0 comments on commit 2d48d9f

Please sign in to comment.