balanced / balanced-ruby

Balanced API library in ruby.
MIT License
111 stars 47 forks source link

Fix warnings #63

Closed mjallday closed 11 years ago

mjallday commented 11 years ago

I'm running the spec tests and getting a whole bunch of this

      Called from: /Users/marshall/code/poundpay/balanced-ruby/spec/balanced/resources/account_spec.rb:496:in `block (4 levels) in <top (required)>'
      #############################################################
      #   WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!   #
      #############################################################

      Using positional arguments is **DEPRECATED**. Please use the
      keyword options pattern instead. Version __0.7.0__ of the
      Ruby client will not support positional arguments.

      If you need help, please hop on irc.freenode.net #balanced
      or contact support@balancedpayments.com
mjallday commented 11 years ago

Clearly not an issue if the test that generates the warning is called takes positional parameters :)