diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-10 08:10:22 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-01-10 08:10:22 -0800 |
commit | 416a179ddf5cf3c328b5c91163ec89334aab0b4f (patch) | |
tree | 36132829e7350b7770c881eb9bb6a3ac4d3b3606 /railties/test/application | |
parent | 2b5019e234b89a201e11ade6e280f3fc0e64f577 (diff) | |
parent | 5ca7ddcb490662b6d4eaa66d244ba2f5705c7428 (diff) | |
download | rails-416a179ddf5cf3c328b5c91163ec89334aab0b4f.tar.gz rails-416a179ddf5cf3c328b5c91163ec89334aab0b4f.tar.bz2 rails-416a179ddf5cf3c328b5c91163ec89334aab0b4f.zip |
Merge pull request #8876 from senny/extract_performance_tests
Extract ActionDispatch::PerformanceTest
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/test_test.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/railties/test/application/test_test.rb b/railties/test/application/test_test.rb index f6bcaa466a..c7ad2fba8f 100644 --- a/railties/test/application/test_test.rb +++ b/railties/test/application/test_test.rb @@ -52,31 +52,6 @@ module ApplicationTests run_test_file 'integration/posts_test.rb' end - test "performance test" do - controller 'posts', <<-RUBY - class PostsController < ActionController::Base - end - RUBY - - app_file 'app/views/posts/index.html.erb', <<-HTML - Posts#index - HTML - - app_file 'test/performance/posts_test.rb', <<-RUBY - require 'test_helper' - require 'rails/performance_test_help' - - class PostsTest < ActionDispatch::PerformanceTest - def test_index - get '/posts' - assert_response :success - end - end - RUBY - - run_test_file 'performance/posts_test.rb' - end - private def run_test_file(name) result = ruby '-Itest', "#{app_path}/test/#{name}" |