Commit c817a17
Changed files (1)
spec
features
spec/features/profiles_spec.rb
@@ -39,7 +39,7 @@ feature "Profiles", type: :feature do
)
end
- it "allows me to choose my home gym", js: true do
+ it "allows me to choose my home gym", js: true, skip: !ENV["YELP_CONSUMER_KEY"].present? do
gym = build(:gym)
allow(Gym).to receive(:create_from_yelp!).and_return(gym)