Permalink
Browse files

Fixing incorrect tests

  • Loading branch information...
1 parent a7f66dd commit 98cbf516530ff072eb3e0eaf4833ef10207ebb9c @edmore committed May 29, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 spec/peekaboo_spec.rb
View
@@ -68,16 +68,18 @@ 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
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

0 comments on commit 98cbf51

Please sign in to comment.