aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-06 19:28:46 +0200
committerXavier Noria <fxn@hashref.com>2016-08-06 19:28:46 +0200
commite6ab70c439301d533f14b3387ee181d843a86b30 (patch)
treeaec5e61d15660ff68ec99b8280b2f01f889127b1 /railties/Rakefile
parentadca8154c6ffce978a5dbc514273cceecbb15f8e (diff)
downloadrails-e6ab70c439301d533f14b3387ee181d843a86b30.tar.gz
rails-e6ab70c439301d533f14b3387ee181d843a86b30.tar.bz2
rails-e6ab70c439301d533f14b3387ee181d843a86b30.zip
applies new string literal convention to the rest of the project
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index db23bbabaa..edc405f605 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -1,11 +1,11 @@
-require 'rake/testtask'
+require "rake/testtask"
task :default => :test
task :package
desc "Run all unit tests"
-task :test => 'test:isolated'
+task :test => "test:isolated"
namespace :test do
task :isolated do
@@ -14,8 +14,8 @@ namespace :test do
Dir[*test_files].each do |file|
next true if file.include?("fixtures")
dash_i = [
- 'test',
- 'lib',
+ "test",
+ "lib",
"#{File.dirname(__FILE__)}/../activesupport/lib",
"#{File.dirname(__FILE__)}/../actionpack/lib",
"#{File.dirname(__FILE__)}/../activemodel/lib"
@@ -25,9 +25,9 @@ namespace :test do
end
end
-Rake::TestTask.new('test:regular') do |t|
- t.libs << 'test' << "#{File.dirname(__FILE__)}/../activesupport/lib"
- t.pattern = 'test/**/*_test.rb'
+Rake::TestTask.new("test:regular") do |t|
+ t.libs << "test" << "#{File.dirname(__FILE__)}/../activesupport/lib"
+ t.pattern = "test/**/*_test.rb"
t.warning = false
t.verbose = true
t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION)