File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Feature : Hacker management
2- Scenario : Seeing Following
3- Given there's a hacker with the username "steve"
4- And there's a hacker with the username "fela"
5- And the hacker "steve" is following the hacker "fela"
6- When I go to the hacker page for "steve"
7- And I follow "1"
8- Then I should see "fela"
92 Scenario : Unfollowing a Hacker
103 Given I'm logged in as "steve"
114 And there's a hacker with the username "fela"
Original file line number Diff line number Diff line change 6161 page . should have_content "steve"
6262 end
6363
64+ scenario "sees others following" do
65+ @fela = Factory ( :hacker , :username => "fela" )
66+ @steve = Factory ( :hacker , :username => "steve" )
67+ @steve . follow! @fela
68+
69+ visit "/hackers/steve"
70+ click_link "1"
71+ page . should have_content "fela"
72+ end
73+
6474end
You can’t perform that action at this time.
0 commit comments