View difference between Paste ID: e8kYZc7G and Lfzbu7Dc
SHOW: | | - or go back to the newest paste.
1
When /I (un)?check the following ratings: (.*)/ do |uncheck, rating_list|
2
  # HINT: use String#split to split up the rating_list, then
3
  #   iterate over the ratings and reuse the "When I check..." or
4
  #   "When I uncheck..." steps in lines 89-95 of web_steps.rb
5-
debugger
5+
  
6
  # If you use debugger as the last instruction of a method, it will
7-
end
7+
  # get out of the scope of that method...
8
  debugger
9
  #flunk "Unimplemented"
10
end
11
12
# In the console, you try to check the variables once the debugger
13
# stopped the execution and then...
14
$ rating_list
15
# => ERROR