about summary refs log tree commit homepage
path: root/t/cramp/streaming.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/cramp/streaming.ru')
-rw-r--r--t/cramp/streaming.ru4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cramp/streaming.ru b/t/cramp/streaming.ru
index dc470b2..217c497 100644
--- a/t/cramp/streaming.ru
+++ b/t/cramp/streaming.ru
@@ -4,9 +4,9 @@
 # Rack::Lint does not like async + EM stuff, so disable it:
 #\ -E deployment
 
-require 'cramp/controller'
+require 'cramp'
 
-class StreamController < Cramp::Controller::Action
+class StreamController < Cramp::Action
   periodic_timer :send_data, :every => 1
   periodic_timer :check_limit, :every => 2