add evernote variables to env.test

Ben Cornelis 9 年之前
父節點
當前提交
b4e3f1f9a4
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 1
      app/concerns/evernote_concern.rb
  2. 3 1
      spec/env.test

+ 1 - 1
app/concerns/evernote_concern.rb

@@ -27,7 +27,7 @@ module EvernoteConcern
27 27
     unless evernote_consumer_key.present? &&
28 28
       evernote_consumer_secret.present? &&
29 29
       evernote_oauth_token.present?
30
-      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_'.")
30
+      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_'.")
31 31
     end
32 32
   end
33 33
 

+ 3 - 1
spec/env.test

@@ -8,4 +8,6 @@ THIRTY_SEVEN_SIGNALS_OAUTH_SECRET=TESTSECRET
8 8
 DROPBOX_OAUTH_KEY=dropboxoauthkey
9 9
 DROPBOX_OAUTH_SECRET=dropboxoauthsecret
10 10
 WUNDERLIST_OAUTH_KEY=wunderoauthkey
11
-FAILED_JOBS_TO_KEEP=2
11
+EVERNOTE_OAUTH_KEY=evernoteoauthkey
12
+EVERNOTE_OAUTH_SECRET=evernoteoauthsecret
13
+FAILED_JOBS_TO_KEEP=2