test/test_helper.rb in bobes-textmagic-0.3.0 vs test/test_helper.rb in bobes-textmagic-0.3.1
- old
+ new
@@ -25,14 +25,8 @@
hash = {}
3.times { hash[random_string] = random_string }
hash
end
-def build_uri(command, username, password, options = {})
- options.merge!(:cmd => command, :username => username, :password => password)
- uri = "http://www.textmagic.com/app/api?"
- uri << options.collect { |key, value| "#{key}=#{value}"}.join('&')
-end
-
def load_response(filename)
File.read(File.join(File.dirname(__FILE__), 'fixtures', filename) + '.json')
end
\ No newline at end of file