spec/spec_helper.rb in socialcastr-0.2.17 vs spec/spec_helper.rb in socialcastr-0.2.18
- old
+ new
@@ -39,9 +39,11 @@
case type
when :message
responsefile = "message.xml"
when :messages
responsefile = "messages.xml"
+ when :user
+ responsefile = "user.xml"
end
response = File.read(File.join(File.dirname(__FILE__), 'fixtures', responsefile))
endpoint = generate_fake_endpoint(response)
if block
Artifice.activate_with(generate_fake_endpoint(response)) do