Skip to content

Commit 447bbaf

Browse files
committed
better named hacker specs
1 parent 0ad1fae commit 447bbaf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

spec/acceptance/hacker_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
should_be_on "/"
1717
end
1818

19-
scenario "visit a profile" do
19+
scenario "have visible profiles" do
2020
hacker = Factory(:hacker, :username => "steve")
2121
visit "/hackers/steve"
2222
page.should have_content "steve's page"
2323
end
2424

25-
scenario "visit your profile" do
25+
scenario "can't send messages to themselves" do
2626
@hacker = Factory(:hacker)
2727
log_in @hacker
2828

@@ -32,7 +32,7 @@
3232
page.should_not have_content "Send steve a message"
3333
end
3434

35-
scenario "follow other hackers" do
35+
scenario "can follow other hackers" do
3636
@fela = Factory(:hacker, :username => "fela")
3737

3838
@steve = Factory(:hacker, :username => "steve")
@@ -49,7 +49,7 @@
4949
page.should have_content "Followers: 1"
5050
end
5151

52-
scenario "sees other followers" do
52+
scenario "can see followers" do
5353
@fela = Factory(:hacker, :username => "fela")
5454
@steve = Factory(:hacker, :username => "steve")
5555

@@ -61,7 +61,7 @@
6161
page.should have_content "steve"
6262
end
6363

64-
scenario "sees others following" do
64+
scenario "can see others following" do
6565
@fela = Factory(:hacker, :username => "fela")
6666
@steve = Factory(:hacker, :username => "steve")
6767
@steve.follow! @fela
@@ -71,7 +71,7 @@
7171
page.should have_content "fela"
7272
end
7373

74-
scenario "unfollowing a hacker" do
74+
scenario "can unfollow other hackers" do
7575
@steve = Factory(:hacker, :username => "steve")
7676
log_in @steve
7777

0 commit comments

Comments
 (0)