steps_for(:viewing) do

  When("$agent requests '/list_views.xml'") do |agent|
    get '/list_views.xml'
    # This is displaying correctly for both scenarios
    puts "<pre>#{response.body}</pre>"
  end

  Then("they should see a list of lists containing '$list_name'") do |list_name|
    response.should have_tag('list-views>list-view>name', list_name)
  end
  
  Then("they should not see a list of lists containing '$list_name'") do |list_name|
    response.should_not have_tag('list-views>list-view>name', list_name)
  end
end