spreewald 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/spreewald/web_steps.rb +3 -0
- data/lib/spreewald_support/version.rb +1 -1
- metadata +3 -3
data/lib/spreewald/web_steps.rb
CHANGED
|
@@ -233,6 +233,9 @@ end
|
|
|
233
233
|
Then /^(?:|I )should be on (.+)$/ do |page_name|
|
|
234
234
|
patiently do
|
|
235
235
|
current_path = URI.parse(current_url).path
|
|
236
|
+
if fragment = URI.parse(current_url).fragment
|
|
237
|
+
current_path << "##{fragment}"
|
|
238
|
+
end
|
|
236
239
|
current_path.should == _path_to(page_name)
|
|
237
240
|
end
|
|
238
241
|
end
|
metadata
CHANGED