diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-05-19 15:14:51 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-19 21:31:51 +0200 |
commit | 39a246f545a714b21c669e2f6eda4012526c3874 (patch) | |
tree | 89da32733821f0a7dcc56efdac82c72897eca424 /railties/test | |
parent | bdb2871df7fb0a1eeceadb31aaba4d160df508aa (diff) | |
download | rails-39a246f545a714b21c669e2f6eda4012526c3874.tar.gz rails-39a246f545a714b21c669e2f6eda4012526c3874.tar.bz2 rails-39a246f545a714b21c669e2f6eda4012526c3874.zip |
Final iteration of use better testing methods
[#4652 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rackup_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rackup_test.rb b/railties/test/application/rackup_test.rb index f909c1b282..3790de721c 100644 --- a/railties/test/application/rackup_test.rb +++ b/railties/test/application/rackup_test.rb @@ -28,14 +28,14 @@ module ApplicationTests test "Rails.application is available after config.ru has been racked up" do rackup - assert Rails.application.is_a?(Rails::Application) + assert_kind_of Rails::Application, Rails.application end # Passenger still uses AC::Dispatcher, so we need to # keep it working for now test "deprecated ActionController::Dispatcher still works" do rackup - assert ActionController::Dispatcher.new.is_a?(Rails::Application) + assert_kind_of? Rails::Application, ActionController::Dispatcher.new end test "the config object is available on the application object" do |