diff options
Diffstat (limited to 'railties/test/mocks/fcgi.rb')
-rw-r--r-- | railties/test/mocks/fcgi.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/railties/test/mocks/fcgi.rb b/railties/test/mocks/fcgi.rb deleted file mode 100644 index 59260a684f..0000000000 --- a/railties/test/mocks/fcgi.rb +++ /dev/null @@ -1,15 +0,0 @@ -class FCGI - class << self - attr_accessor :time_to_sleep - attr_accessor :raise_exception - attr_accessor :each_cgi_count - - def each_cgi - (each_cgi_count || 1).times do - sleep(time_to_sleep || 0) - raise raise_exception, "Something died" if raise_exception - yield "mock cgi value" - end - end - end -end |