We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a98617 commit dc678c2Copy full SHA for dc678c2
Rakefile
@@ -7,7 +7,9 @@ require File.expand_path("../test/dummy/config/application", __FILE__)
7
8
Rails.application.load_tasks
9
10
-# Clear the Rails-provided test task and define our own
+# Clear Rails' test task which expects bin/rails to exist.
11
+# This gem uses a dummy Rails app for testing but doesn't have bin/rails
12
+# since it's a gem, not a standalone Rails application.
13
Rake::Task["test"].clear if Rake::Task.task_defined?("test")
14
15
Rake::TestTask.new(:test) do |t|
0 commit comments