Advertisement
saasbook

example_step_2_revised.rb

Jan 10th, 2012
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.14 KB | None | 0 0
  1. Then /^(?:|I )should be on (.+)$/ do |page_name|
  2.   current_path = URI.parse(current_url).path
  3.   current_path.should == path_to(page_name)
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement