capitalize reshare when there are no reshares

This commit is contained in:
danielgrippi 2011-08-02 10:40:36 -07:00
parent 8b74d2afe1
commit 66315eca18
2 changed files with 8 additions and 8 deletions

View file

@ -602,7 +602,7 @@ en:
reshare:
reshare_original: "Reshare original"
reshare:
zero: "reshare"
zero: "Reshare"
one: "1 reshare"
few: "%{count} reshares"
many: "%{count} reshares"

View file

@ -13,24 +13,24 @@ Feature: public repost
Scenario: does not show the reshare button on my own posts
And "bob@bob.bob" has a non public post with text "reshare this!"
And I sign in as "bob@bob.bob"
Then I should not see "reshare"
Then I should not see "Reshare"
Scenario: does not show a reshare button on other private pots
And "bob@bob.bob" has a non public post with text "reshare this!"
And I sign in as "alice@alice.alice"
Then I should not see "reshare"
Then I should not see "Reshare"
Scenario: does shows the reshare button on my own posts
And "bob@bob.bob" has a public post with text "reshare this!"
And I sign in as "alice@alice.alice"
Then I should see "reshare"
Then I should see "Reshare"
Scenario: shows up on the profile page
And "bob@bob.bob" has a public post with text "reshare this!"
And I sign in as "alice@alice.alice"
And I preemptively confirm the alert
And I follow "reshare"
And I follow "Reshare"
And I wait for the ajax to finish
And I wait for 2 seconds
@ -43,7 +43,7 @@ Feature: public repost
And "bob@bob.bob" has a public post with text "reshare this!"
And I sign in as "alice@alice.alice"
And I preemptively confirm the alert
And I follow "reshare"
And I follow "Reshare"
And I wait for the ajax to finish
And I go to the home page
@ -57,7 +57,7 @@ Feature: public repost
And "bob@bob.bob" has a public post with text "reshare this!"
And I sign in as "alice@alice.alice"
And I preemptively confirm the alert
And I follow "reshare"
And I follow "Reshare"
And I wait for the ajax to finish
And I go to the home page
@ -82,7 +82,7 @@ Feature: public repost
And "bob@bob.bob" has a public post with text "reshare this!"
And I sign in as "alice@alice.alice"
And I preemptively confirm the alert
And I follow "reshare"
And I follow "Reshare"
And I wait for the ajax to finish
And I go to the home page