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
@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 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
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 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: 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 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
[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 |
OlderNewer