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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
logallrefupdates = true | |
autocrlf = false | |
[remote "origin"] | |
url = [email protected]:FinalFive/cucumber-jvm.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[branch "master"] | |
remote = origin |
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: Updating an existing request | |
In order to change my mind about what I need | |
I want to be able to edit my Request | |
Background: Logged in via facebook with one request | |
Given I am logged in with facebook | |
And I have a request for "Dragon's Lair Arcade Game" at $2000 | |
Scenario: Logged in users can edit requests | |
When I change the request to "iPhone6" at $300 |
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 'rubygems' | |
require 'mechanize' | |
require 'net/http' | |
require 'json' | |
#get the tmbundle forkers | |
base_url = "http://github.com/api/v2/json/repos/show/cucumber/cucumber-tmbundle/network" | |
cuke_tmbundle_forkers = JSON.parse(Net::HTTP.get_response(URI.parse(base_url)).body).first[1].map{ |x| x["owner"] } | |
agent = Mechanize.new |
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
@focus | |
Feature: Admin Access | |
In order to view the admin page | |
As a user | |
You must be an admin | |
Scenario Outline: Redirect to four04 if user is not admin | |
Given the following user records | |
| username | password | factory | |
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
@focus | |
Feature: Admin Access | |
In order to view the admin page | |
As a user | |
You must be an admin | |
Scenario Outline: Redirect to four04 if user is not admin | |
Given the following user records | |
| username | password | factory | |
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: foo | |
Scenario Outline: Incorrect Search Output | |
When I do an invalid search of: "<keywords>" | |
Then an invalid search result page of "<response>" should not be returned! | |
Examples: | |
| keywords | response | | |
| &^*%$ü%! |'&^*%$%!' could not be interpreted. Please correct the construction and try again. | |
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
#!/usr/bin/sh | |
ARCHFLAGS='-arch i386 -arch x86_64' | |
rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes | |
wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.1/RubyCocoa-1.0.1.tar.gz/download | |
tar xzf RubyCocoa-1.0.1.tar.gz && rm RubyCocoa-1.0.1.tar.gz && cd RubyCocoa-1.0.1 | |
ruby install.rb config --build-universal=yes | |
ruby install.rb setup | |
sudo ruby install.rb install |
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: developer creates a skeleton Ruby application | |
In order to get to the beach more quickly | |
As a developer | |
I want to instantly create a basic Ruby application skeleton | |
Scenario: create a new application | |
Given there should be a bin/[application_name] file which contains: | |
""" |
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
~$ ARCHFLAGS='-arch i386 -arch x86_64' | |
~$ rvm install 1.8.7 --debug --reconfigure -C --enable-shared=yes | |
~$ wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.0/RubyCocoa-1.0.0.tar.gz/download | |
~$ tar xzf RubyCocoa-1.0.0.tar.gz && rm RubyCocoa-1.0.0.tar.gz && cd RubyCocoa-1.0.0 | |
~/RubyCocoa-1.0.0$ ruby install.rb config --build-universal=yes | |
~/RubyCocoa-1.0.0$ ruby install.rb setup | |
~/RubyCocoa-1.0.0$ sudo ruby install.rb install |
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
=v-gradient(!top_color, !bottom_color, !midpoint_color = false, !midpoint = false) | |
@if !midpoint_color == false | |
!midpoint_color = !top_color / 2 + !bottom_color / 2 | |
@if !midpoint == false | |
!midpoint = 50% | |
background: -webkit-gradient(linear, center top, center bottom, from(#{!top_color}), color-stop(#{!midpoint}, #{!midpoint_color}), to(#{!bottom_color})) | |
background: -moz-linear-gradient(top, #{!top_color}, #{!midpoint_color} #{!midpoint}, #{!bottom_color}) |
NewerOlder