Commit 2e7c65f

mo khan <mo@mokhan.ca>
2017-02-16 21:31:15
skip tests that require YELP api keys.
1 parent 57c8587
Changed files (1)
spec
spec/models/gym_spec.rb
@@ -111,7 +111,7 @@ describe Gym do
         ).map(&:name)).to match_array(["Sait Campus Centre"])
       end
     end
-  end
+  end if ENV['YELP_TOKEN_SECRET'].present?
 
   describe "#full_address" do
     let(:location) { build(:location) }