diff options
author | Gibheer <gibheer@gmail.com> | 2012-11-16 10:50:12 +0100 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2012-11-16 10:50:12 +0100 |
commit | 75ccc3195d8dc2fcf77189d6bf50ef822d59cce0 (patch) | |
tree | 3bac6cf435a8c8bd567a32688977324b97a52917 /spec/spec_helper.rb | |
parent | 8a1c464c8b395542b430eac567b5945f04f732ae (diff) |
call is a class function
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5f1be68..4f51fb0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,7 @@ require 'zero/all' class SpecApp attr_reader :env - def call(env) + def self.call(env) @env = env return [200, {'Content-Type' => 'text/html'}, ['success']] end |