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
* executing "cd /var/www/current && sudo -p 'sudo password: ' -u app nohup script/spin" | |
servers: ["184.73.245.53"] | |
[184.73.245.53] executing command | |
*** [err :: 184.73.245.53] sudo | |
*** [err :: 184.73.245.53] : | |
*** [err :: 184.73.245.53] unknown user: app | |
*** [err :: 184.73.245.53] | |
command finished | |
blargh | |
this is my config/deploy.rb |
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
def main | |
require 'church' | |
require 'christian' | |
# Phillipians 2:1-4 | |
var church_body = new Church() # initialized w/ global dataset | |
var me = new Christian() | |
if ( | |
encouragement_in_christ or | |
consolation_of_love or | |
fellowship_of_the_spirit or |
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
namespace :feedback do | |
desc "Feedback request email" | |
task :feedback_request => [:login, :environment] do | |
#... some unrelated code | |
begin | |
# opening a page using mechanize | |
page = open_order_contact_page(o.order_number,"FDBK") | |
form = page.form('comments') | |
form.comments = @@feedback_request_body.gsub("<order_number>",o.order_number).gsub(/(\w.{1,72})(\s+)/s, "\\1\n") | |
form.button_with(:name=>'sendemail').x=1 |
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: User signs up with valid data | |
When I hit the sign up api with "user@example.com/secret" | |
Then I should see JSON: | |
""" | |
{"stuff":"value"} | |
""" | |
Results: | |
Scenario: User signs up with valid data # /Users/bmattax/Documents/workspace/donationllc/apps/donationweb/features/api_signup.feature:24 |
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: User signs up with valid data | |
When I hit the sign up api with "user@example.com/secret" | |
Then I should see JSON: | |
"{}" | |
Resulting error: | |
features/api_signup.feature:27:9: Parse error, expected one of "|", "\"\"\"", "\n", "\r", "#", "* ", "Given ", "When ", "Then ", "And ", "But ", "@", "Scenario", "Scenario Outline". (Cucumber::Parser::SyntaxError) |
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: | |
Given I am on the weather page | |
When I enter my zipcode : 46789 | |
Then I should see a temperature | |
And I should see an icon | |
NewerOlder