Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing incorrect tests

  • Loading branch information...
commit 98cbf516530ff072eb3e0eaf4833ef10207ebb9c 1 parent a7f66dd
@edmore authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 spec/peekaboo_spec.rb
View
8 spec/peekaboo_spec.rb
@@ -68,7 +68,8 @@ def setup
feature "Start Sesssion" do
setup
scenario "should start a session" do
- visit("/start")
+ visit("/")
+ click_link("Start Session")
page.current_path.should == "/start"
end
end
@@ -76,8 +77,9 @@ def setup
feature "Clear Session" do
setup
scenario "should clear a session" do
- visit("/start")
- page.current_path.should == "/start"
+ visit("/")
+ click_link("Clear Session")
+ page.current_path.should == "/clear"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.