diff --git a/plugins/organization_ratings/features/rate_community.feature b/plugins/organization_ratings/features/rate_community.feature index 40f46b4..5658544 100644 --- a/plugins/organization_ratings/features/rate_community.feature +++ b/plugins/organization_ratings/features/rate_community.feature @@ -28,3 +28,9 @@ Feature: rate_community Scenario: display rate button inside communities ratings block Given I am on mycommunity's homepage Then I should see "Rate Community" within ".make-report-block" + + Scenario: redirect to profile page + Given I am on mycommunity's homepage + When I follow "Rate this Community" + Then I should see "Joao Silva" within ".star-profile-name" + And I should see Joao Silva's profile image \ No newline at end of file diff --git a/plugins/organization_ratings/style.css b/plugins/organization_ratings/style.css index 408f0e9..12adc94 100644 --- a/plugins/organization_ratings/style.css +++ b/plugins/organization_ratings/style.css @@ -122,6 +122,10 @@ width: 66px; } +.star-profile-name a:link { + text-decoration: none; +} + .star-rate-data .star-rate-form .star-comment-container .formfield textarea { width: 361px; } diff --git a/plugins/organization_ratings/views/organization_ratings_plugin_profile/_new_rating_fields.html.erb b/plugins/organization_ratings/views/organization_ratings_plugin_profile/_new_rating_fields.html.erb index e379d05..0c39045 100644 --- a/plugins/organization_ratings/views/organization_ratings_plugin_profile/_new_rating_fields.html.erb +++ b/plugins/organization_ratings/views/organization_ratings_plugin_profile/_new_rating_fields.html.erb @@ -9,11 +9,11 @@