This file contains 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
Thank you for your interest in Open SDSP (the | |
"Open Specification") and Ably Real-time Ltd (the "Project Sponsor"). | |
In order to clarify the intellectual property license granted with | |
Contributions from any person or entity, the Project Sponsor | |
must have a Contributor License Agreement (CLA) on file that has been | |
signed by each Contributor, indicating agreement to the license terms | |
below. This license is for your protection as a Contributor as well | |
as the protection of the Project Sponsor and its users; it does not | |
change your rights to use your own Contributions for any other purpose. |
This file contains 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
@javascript | |
Scenario: confiming when saving inactive | |
Given I expect to click "OK" on a confirmation box saying "Are you sure?" | |
When I press "Save" | |
Then the confirmation box should have been displayed | |
And I should see "TV" in the "Campaign Keywords" section | |
Scenario: alert when form is not valid | |
Given I expect to click on an alert box saying "Please complete all fields in this form" | |
When I press "Save" |
This file contains 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
<div>Ably Quickstart example</div> | |
<ul id="output"> | |
</ul> | |
Message: <input id="message" type="text" value="Hello"><br> | |
<input type="submit" id="publish" value="Publish the message"> | |
</html> |
This file contains 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
<div>Ably Quickstart example</div> | |
<ul id="output"> | |
</ul> | |
Message: <input id="message" type="text" value="Hello"><br> | |
<input type="submit" id="publish" value="Publish the message"> | |
</html> |
This file contains 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
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
This file contains 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
<p> | |
An alert box with Hello should have displayed | |
</p> |
This file contains 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
/** | |
* testAsyncStepsWithPause | |
* Executes any number of async Qunit tests with a pause between each step | |
* | |
* Author: Matthew O'Riordan, http://mattheworiordan.com | |
* | |
* Params: | |
* @timeToWait: milliseconds between running method and running tests | |
* @methods: 1+ function arguments passed in the format: | |
* function() { |
This file contains 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
scenario "have ability to edit profile", :js => true do | |
@ability.should be_able_to(:edit, @profile) | |
end |
This file contains 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
require 'growl' | |
require 'open3' | |
ENV["WATCHR"] = "1" | |
$spec_cmd = "rspec --tty --drb --colour --format nested" | |
$cuke_cmd = "cucumber --color --drb --require features/step_definitions --require features/support" | |
$pass = File.join(File.expand_path(File.dirname(__FILE__)), '.watchr_images', 'pass.png') | |
$fail = File.join(File.expand_path(File.dirname(__FILE__)), '.watchr_images', 'fail.png') | |
$pending = File.join(File.expand_path(File.dirname(__FILE__)), '.watchr_images', 'pending.png') |