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
| When I follow 'Click me' |
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
| find('.clickable-text', :text => 'Click me').click |
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
| When /^I click the text "([^"]+)"$/ do |text| | |
| find('.clickable-text', :text => text).click | |
| end |
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
| <a href="path/to/url" class="clickable-text">Click me</a> |
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
| <h3 class='clickable-text'>Click me</h3> |
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
| else if directive.constructor == Array | |
| childTemplate = element.children()[0] | |
| fragment = document.createDocumentFragment() | |
| if childTemplate | |
| for matchDirective in directive | |
| expanded = expandTemplateInPlace $(childTemplate).clone(true), matchDirective |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <opml version="1.0"> <!-- version is required by opml --> | |
| <head> <!-- <head> is required by opml --> | |
| <dateCreated>July 20, 2011 15:45:00</dateCreated> | |
| <dateModified>July 20, 2011 15:45:00</dateModified> | |
| <ownerName>Atomic Object</ownerName> | |
| <ownerEmail>info@atomicobject.com</ownerEmail> | |
| </head> |
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
| - for course in @courses | |
| - course.assessment_schedules.each do |assessment_schedule| | |
| %tr.assessments | |
| %td.course-title= course.title | |
| %td.assessment-title= assessment_schedule.assessment_template.title | |
| %td= assessment_schedule.assessment_template.created_at.to_s(:short) | |
| %td.start-btn.text-center | |
| - if assessment_schedule.takable? | |
| = link_to "Start", assessment_schedule_assessments_path(assessment_schedule), :method => 'post', :class => "btn start" |
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
| = link_to image_tag("https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif"), :controller => 'paypal_express', :action => 'checkout' |
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
| get "paypal_express/checkout" |
OlderNewer