aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/Rakefile
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2016-11-25 23:42:29 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2016-11-26 01:23:07 -0500
commit02568801e6e34ee1ccbb825c6a10dfab83d1663e (patch)
tree89e472b2f5dcb151f90dd39fe11cc1ad2a97dfeb /actionview/Rakefile
parentad3a47759e67a411f3534309cdd704f12f6930a7 (diff)
downloadrails-02568801e6e34ee1ccbb825c6a10dfab83d1663e.tar.gz
rails-02568801e6e34ee1ccbb825c6a10dfab83d1663e.tar.bz2
rails-02568801e6e34ee1ccbb825c6a10dfab83d1663e.zip
Add UJS tests
Diffstat (limited to 'actionview/Rakefile')
-rw-r--r--actionview/Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile
index 6c3fc59b0a..7a66119488 100644
--- a/actionview/Rakefile
+++ b/actionview/Rakefile
@@ -46,6 +46,13 @@ namespace :test do
end
end
+namespace :ujs do
+ desc "Starts the test server"
+ task :server do
+ system 'bundle exec rackup test/ujs/config.ru -p 4567 -s puma'
+ end
+end
+
task :lines do
load File.expand_path("..", File.dirname(__FILE__)) + "/tools/line_statistics"
files = FileList["lib/**/*.rb"]