fastruby / harvesting

Ruby wrapper for the Harvest API v2
MIT License
28 stars 30 forks source link

Following the development steps in the README does not work #29

Closed etagwerker closed 5 years ago

etagwerker commented 5 years ago

It raises this error:

      ArgumentError:
        Access token and account id are required. Access token: ''. Account ID: ''.
      # ./lib/harvesting/client.rb:17:in `initialize'
      # ./spec/harvesting/harvest_data_setup.rb:21:in `new'
      # ./spec/harvesting/harvest_data_setup.rb:21:in `block (3 levels) in <top (required)>'
      # /Users/etagwerker/.rvm/gems/ruby-2.5.1/gems/vcr-4.0.0/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
      # /Users/etagwerker/.rvm/gems/ruby-2.5.1/gems/vcr-4.0.0/lib/vcr.rb:188:in `use_cassette'
      # ./spec/harvesting/harvest_data_setup.rb:20:in `block (2 levels) in <top (required)>'
      # ./spec/spec_helper.rb:32:in `block (3 levels) in <top (required)>'
      # /Users/etagwerker/.rvm/gems/ruby-2.5.1/gems/vcr-4.0.0/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
      # /Users/etagwerker/.rvm/gems/ruby-2.5.1/gems/vcr-4.0.0/lib/vcr.rb:188:in `use_cassette'
      # ./spec/spec_helper.rb:32:in `block (2 levels) in <top (required)>'

I believe the solution would be to: