daemon_objects 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/daemon_objects/base.rb
CHANGED
@@ -75,9 +75,9 @@ describe DaemonObjects::Base do
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
it 'should be
|
78
|
+
it 'should be development if not Rails and no environment set' do
|
79
79
|
MyDaemon = Class.new(DaemonObjects::Base)
|
80
|
-
MyDaemon.environment.should
|
80
|
+
MyDaemon.environment.should == "development"
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|