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
| Feature: Homepage | |
| Scenario: Index page | |
| Given I am on homepage | |
| When I go to main/index | |
| Then Response status code is 200 | |
| And I should see "This is a temporary page" | |
| #-------------------------------------------------------------- |
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
| <?php | |
| // ZF coding style guides | |
| public function hydrate(ClassMetadata $metadata, $document, $data) | |
| { | |
| $values = array(); | |
| foreach ($metadata->fieldMappings as $mapping) { | |
| if ( ! isset($data[$mapping['fieldName']])) { | |
| continue; |
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
| #!/bin/bash | |
| IPATH="/Applications/iTunes.app/Contents/MacOS" | |
| if [ ! -e "$IPATH/iTunesX" ] | |
| then | |
| sudo mv "$IPATH/iTunes" "$IPATH/iTunesX" | |
| # has sudo failed? | |
| if (( $? )) |
NewerOlder