Sha256: e5c44e5a66744b0516b15b79659bf0a8a19b8bf4fd6f328d1fe48e47b06d4ad8
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
Feature: Email Protection Scenario: Inserts script into the page Given the Server is running at "test-app" When I go to "/" Then I should see "</script>" Scenario: Shows obfuscated email on page Given the Server is running at "test-app" When I go to "/" Then I should see "<a href='#email-protection-rznvy@rknzcyr.pbz'></a>" Scenario: Inserts script into end of body if a body tag exists Given the Server is running at "test-app" When I go to "/with_body.html" Then I should see: """ </script> </body> """ Scenario: Does not insert script if there is no email on the page Given the Server is running at "test-app" When I go to "/with_no_email.html" Then I should not see "</script>" Scenario: Obfuscates multiple emails Given the Server is running at "test-app" When I go to "/with_multiple_emails.html" Then I should see "<a href='#email-protection-rznvy1@rknzcyr.pbz'></a>" Then I should see "<a href='#email-protection-rznvy2@rknzcyr.pbz'></a>"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-protect-emails-0.1.0 | features/extension.feature |