lib/spreewald/web_steps.rb in spreewald-0.4.3 vs lib/spreewald/web_steps.rb in spreewald-0.4.4

- old
+ new

@@ -231,9 +231,12 @@ end Then /^(?:|I )should be on (.+)$/ do |page_name| patiently do current_path = URI.parse(current_url).path + if fragment = URI.parse(current_url).fragment + current_path << "##{fragment}" + end current_path.should == _path_to(page_name) end end # Example: