Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

johns-mbp:nrtest2 johnivanoff$ rspec
/Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/gems/sass-3.2.19/lib/sass/version.rb:5: warning: loading in progress, circular require considered harmful - /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/gems/sass-3.2.19/lib/sass.rb
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/bin/ruby_executable_hooks:15:in `<main>'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/bin/ruby_executable_hooks:15:in `eval'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/bin/rspec:23:in `<main>'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/bin/rspec:23:in `load'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/gems/rspec-core-3.0.3/exe/rspec:4:in `<top (required)>'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:38:in `invoke'
from /Users/johnivanoff/.rvm/gems/ruby-2.1.2@nrtest2/gems/rspec-core-3.0.3/lib/rspec/core/runner.rb:70:in `run'
@johnivanoff
johnivanoff / Test 123
Created April 5, 2011 02:53
Testing 123
<cfoutput>#now()#</cfoutput>
<cfoutput query="Betty">#name#</cfoutput>
@johnivanoff
johnivanoff / iPhone_contact_html_mockup
Created November 16, 2011 17:21
An iPhone Contact Page Marked Up With HTML5
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Person</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="user-scalable=no, width=device-width" />
<style>
@johnivanoff
johnivanoff / gist:1699838
Created January 29, 2012 17:55
i18n Create Scenario with wip flag
@wip
Scenario: Create a new location
Given I am on new location page
And I fill in "Name" with "Shiny location"
When I press "Create"
Then I should see "Shiny location"
@johnivanoff
johnivanoff / gist:1699848
Created January 29, 2012 17:56
i18n Create Scenario with wip flag
Scenario: Create a new location
Given I am on new location page
And I fill in "Name" with "Shiny location"
When I press "Create"
Then I should see "Shiny location"
$ cucumber --profile wip
Using the wip profile...
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
@wip
Scenario: Create a new location # features/manage_locations.feature:19
Given I am on new location page # features/manage_locations.feature:20
Given /^I am on new location page$/ do
pending # express the regexp above with the code you wish you had
end
Given /^I fill in "([^"]*)" with "([^"]*)"$/ do |arg1, arg2|
pending # express the regexp above with the code you wish you had
end
When /^I press "([^"]*)"$/ do |arg1|
pending # express the regexp above with the code you wish you had
$ cucumber --profile wip
Using the wip profile...
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
@wip
Scenario: Create a new location # features/manage_locations.feature:19
Given I am on new location page # features/step_definitions/location_steps.rb:22
locations GET (/:locale)/locations(.:format) locations#index
new_locations (/:locale)/locations/new(.:format) locations#new
locations POST (/:locale)/locations(.:format) locations#create
root /(:locale)(.:format) locations#index