Skip to content

Commit

Permalink
add evernote variables to env.test
Browse files Browse the repository at this point in the history
  • Loading branch information
bencornelis committed Sep 15, 2015
1 parent ba323f4 commit b4e3f1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/concerns/evernote_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def validate_evernote_options
unless evernote_consumer_key.present? &&
evernote_consumer_secret.present? &&
evernote_oauth_token.present?
errors.add(:base, "Evernote consumer_key, consumer_secret, oauth_token, and oauth_token_secret are required to authenticate with the Twitter API. You can provide these as options to this Agent, or as Credentials with the same names, but starting with 'evernote_'.")
errors.add(:base, "Evernote consumer_key, consumer_secret, oauth_token, and oauth_token_secret are required to authenticate with the Evernote API. You can provide these as options to this Agent, or as Credentials with the same names, but starting with 'evernote_'.")
end
end

Expand Down
4 changes: 3 additions & 1 deletion spec/env.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=TESTSECRET
DROPBOX_OAUTH_KEY=dropboxoauthkey
DROPBOX_OAUTH_SECRET=dropboxoauthsecret
WUNDERLIST_OAUTH_KEY=wunderoauthkey
FAILED_JOBS_TO_KEEP=2
EVERNOTE_OAUTH_KEY=evernoteoauthkey
EVERNOTE_OAUTH_SECRET=evernoteoauthsecret
FAILED_JOBS_TO_KEEP=2

0 comments on commit b4e3f1f

Please sign in to comment.