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
Feature: Puppies are very cute and everyone wants one | |
In order to make everyone happy | |
As a puppy class programmer | |
I want to give everyone a cute virtual puppy | |
Scenario: The puppy is being pet | |
Given we have a puppy | |
And its name is Fred | |
When we pet the puppy | |
Then the puppy wags its tail |
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
if (Bob.is_a?(Robert) ) | |
puts "yes, he is" | |
else | |
puts "no, he isn't" | |
end | |
puts "He's a swell fellow, either way" |
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
Image: 400900309.jpg | |
Format: JPEG (Joint Photographic Experts Group JFIF format) | |
Class: DirectClass | |
Geometry: 227x150+0+0 | |
Resolution: 150x150 | |
Print size: 1.51333x1 | |
Units: PixelsPerInch | |
Type: TrueColor | |
Endianess: Undefined | |
Colorspace: sRGB |
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
[{ | |
"environments": [ | |
"site.dev", | |
"site.staging", | |
"site.com" | |
] | |
}] |
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
var dev = "dev", | |
staging = "staging", | |
production = "production", | |
url = window.location, | |
hostname = window.location.hostname; | |
hostname = hostname.split('.'); | |
if (hostname[1] === dev) { | |
hostname[1] = staging; |
NewerOlder