This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<request> | |
<dyn_variable name="authenticity_token" ></dyn_variable> | |
<http url="/registrations/new" version="1.1" method="GET"></http> | |
</request> | |
<request subst="true"> | |
<http url="/registrations" method="POST" version="1.1" | |
contents="authenticity_token=%%_authenticity_token%%&first_name=Jane"/> | |
</request> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def wait_until_visible(locator, seconds = 10) | |
raise ArgumentError if locator.blank? | |
begin | |
Timeout::timeout(seconds) do | |
until page.has_css?(locator) && find(locator).visible? | |
sleep 0.25 | |
end | |
end | |
rescue Timeout::Error => e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/unit/report/entertainment/deal_email_file_test.rb b/test/unit/report/entertainment/deal_email_file_test.rb | |
index 2089d2f..2f97681 100644 | |
--- a/test/unit/report/entertainment/deal_email_file_test.rb | |
+++ b/test/unit/report/entertainment/deal_email_file_test.rb | |
@@ -1,10 +1,7 @@ | |
require File.dirname(__FILE__) + "/../../../test_helper" | |
require File.dirname(__FILE__) + '/../entertainment_setup' | |
-module Report | |
- module Entertainment |
NewerOlder