aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2015-01-15 22:58:02 +0530
committerPratik Naik <pratiknaik@gmail.com>2015-01-15 22:58:02 +0530
commit843492ee6c2167115f2bbc9c1b3c82da0ad075f8 (patch)
tree3b25966b07e0f11f91db2e461413c06f7ad114d6 /Rakefile
parenta5c3a8d3e346acce79899c04133ba6fa3c88f830 (diff)
downloadrails-843492ee6c2167115f2bbc9c1b3c82da0ad075f8.tar.gz
rails-843492ee6c2167115f2bbc9c1b3c82da0ad075f8.tar.bz2
rails-843492ee6c2167115f2bbc9c1b3c82da0ad075f8.zip
Add some tests. Work in progress. Testing websockets is hard.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000000..c2ae16b7d9
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,11 @@
+require 'rake'
+require 'rake/testtask'
+
+task :default => :test
+
+Rake::TestTask.new(:test) do |t|
+ t.libs << "test"
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+Rake::Task['test'].comment = "Run tests"