I have a page object with the following setup:
class StudynoteShowPage < SitePrism::Page
set_url "/studynotes{/studynote}"
end
When I use that page
ssp = StudynoteShowPage.new
ssp.load(studynote: @s1)
I get
ArgumentError:
wrong number of arguments (given 1, expected 0)
Any ideas about that?
I've already tried single and double quotes in the set_url, but that makes no difference.
I can see that the addressable
gem is included in my Gemfile.lock.