I'm trying to start testing my application (admittedly did not follow good TDD because I'm writing tests after the fact). When I go to run it I'm getting the below error, even though I'm not testing anything anything with the uploader right now.
/home/action/.gem/ruby/2.1.1/gems/fog-core-1.30.0/lib/fog/core/service.rb:244:in `validate_options': Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)
I have my aws keys defined properly in an application.yml file using the Figaro gem so I'm not sure why I'm getting this error.
All I'm testing right now is this:
company_spec.rb
require 'spec_helper'
describe Company do
it { should validate_presence_of(:company_name)}
end
but I can't even run that test. I'm a noob to testing so any help would be appreciated here. Thank you!
Aucun commentaire:
Enregistrer un commentaire