Skip to content
Extraits de code Groupes Projets
Valider 5ff085af rédigé par Flaburgan's avatar Flaburgan
Parcourir les fichiers

Fix tests

parent a10601f9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
#single-post-content { #single-post-content {
.head { .head {
padding-bottom: 10px;
padding-top: 5px;
border-bottom: 1px solid $border-grey; border-bottom: 1px solid $border-grey;
padding: 10px 0;
#post-info { #post-info {
.author{ color: $grey; } .author{ color: $grey; }
.info { .info {
...@@ -108,6 +107,11 @@ ...@@ -108,6 +107,11 @@
} }
#single-post-interactions { #single-post-interactions {
> .framed-content {
padding-top: 10px;
}
.no-comments { text-align: center; } .no-comments { text-align: center; }
a { a {
......
...@@ -13,4 +13,6 @@ Feature: donations ...@@ -13,4 +13,6 @@ Feature: donations
Scenario: Bitcoin donations Scenario: Bitcoin donations
Given I have configured a Bitcoin address Given I have configured a Bitcoin address
And I go to the home page And I go to the home page
Then I should see "Donate" within ".info-bar"
And I click on "Donate" navbar title
Then I should see the Bitcoin address Then I should see the Bitcoin address
...@@ -37,11 +37,13 @@ Feature: Invitations ...@@ -37,11 +37,13 @@ Feature: Invitations
And I close the publisher And I close the publisher
And I log out And I log out
And I sign in as "alice@alice.alice" And I sign in as "alice@alice.alice"
And I click on "Invite your friends" navbar title
And I click on selector "#invitations-button" And I click on selector "#invitations-button"
Then I should see one less invite Then I should see one less invite
Scenario: sends an invitation Scenario: sends an invitation
When I sign in as "alice@alice.alice" When I sign in as "alice@alice.alice"
And I click on "Invite your friends" navbar title
And I click on selector "#invitations-button" And I click on selector "#invitations-button"
And I fill in the following: And I fill in the following:
| email_inviter_emails | alex@example.com | | email_inviter_emails | alex@example.com |
......
...@@ -21,3 +21,9 @@ end ...@@ -21,3 +21,9 @@ end
Then /^I should have (\d+) nsfw posts$/ do |num_posts| Then /^I should have (\d+) nsfw posts$/ do |num_posts|
page.should have_css(".nsfw-shield", count: num_posts.to_i) page.should have_css(".nsfw-shield", count: num_posts.to_i)
end end
When /^(?:|I )click on "([^"]*)" navbar title$/ do |title|
with_scope(".info-bar") do
find("h5", text: title).click
end
end
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter