spec/railtie_spec.rb in couch_potato-1.6.5 vs spec/railtie_spec.rb in couch_potato-1.7.0
- old
+ new
@@ -1,10 +1,16 @@
require 'spec_helper'
require 'yaml'
module Rails
+ class Env < String
+ def development?
+ true
+ end
+ end
+
def self.env
- 'test'
+ Env.new 'test'
end
class Railtie
def self.initializer(*args)
end