Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Spec helper now only sets the api details if already blank.

  • Loading branch information...
commit df613d7ae0a0fc093bc3e3569c370276f0878979 1 parent 3b9541d
@mariovisic mariovisic authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/spec_helper.rb
View
4 spec/spec_helper.rb
@@ -17,8 +17,8 @@
config.before :all do
# Put your api details here for tesing.
- HasFace.api_key = 'put your api key here for testing'
- HasFace.api_secret = 'put your api secret here for testing'
+ HasFace.api_key = 'put your api key here for testing' if HasFace.api_key.blank?
+ HasFace.api_secret = 'put your api secret here for testing' if HasFace.api_secret.blank?
end
Please sign in to comment.
Something went wrong with that request. Please try again.