Commit a984421

mo khan <mo@mokhan.ca>
2016-05-02 00:33:34
start to work on search.
1 parent e34da2e
Changed files (2)
features
features/step_definitions/gym_steps.rb
@@ -10,7 +10,6 @@ And /^There are (\d) gyms$/ do |n|
 end
 
 Then /^it lists all gyms$/ do
-  puts page.html
   @gyms.each do |gym|
     expect(@subject).to have_content(gym.name)
   end
features/finding_a_gym.feature
@@ -9,6 +9,8 @@ Feature: Finding a gym
     Then it lists all gyms
 
   Scenario: Find a gym in a city
-    Given the user is on the gyms page
-    When I choose a city
+    Given the user is logged in
+    And There are 3 gyms
+    When the user is on the gyms page
+    And I choose a city
     Then it lists all gyms