spec/spec_helper.rb in medea-0.7.1 vs spec/spec_helper.rb in medea-0.7.2
- old
+ new
@@ -4,10 +4,14 @@
require 'medea'
class Message < Medea::JasonObject
end
+ENV["jason_user"] = "michael"
+ENV["jason_topic"] = "medea-test"
+ENV["jason_password"] = "password"
+
class User < Medea::JasonObject
has_location
has_many :followees, User
owns_many :messages, Message
end
@@ -19,9 +23,5 @@
def headers
{:Etag => "sometag",
:timestamp => "12345678"}
end
end
-
-ENV["jason_user"] = "michael"
-ENV["jason_topic"] = "medea-test"
-ENV["jason_password"] = "password"