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: This is just for simple testing purposes | |
Background: | |
Given I am at the list of adhesives | |
And there is an object named "Stuff" | |
Scenario: | |
When I click on "Stuff" | |
Then I am presented with a detailed view of the object |
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: This is just for simple testing purposes | |
Background: | |
Given I am at the list of adhesives | |
And there is an object named "Stuff" | |
Scenario: | |
When I click on "Stuff" | |
Then I am presented with a detailed view of the object |
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
source 'http://rubygems.org' | |
gem 'rails', '3.2.3' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'sqlite3' | |
gem 'ruby_parser' | |
gem 'hpricot' |
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
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. | |
# It is recommended to regenerate this file in the future when you upgrade to a | |
# newer version of cucumber-rails. Consider adding your own code to a new file | |
# instead of editing this one. Cucumber will automatically load all features/**/*.rb | |
# files. | |
require 'cucumber/rails' | |
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In | |
# order to ease the transition to Capybara we set the default here. If you'd |
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
let g:vimwiki_ext2syntax = {'.md',: 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'} |
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
** Invoke environment (first_time) | |
** Execute environment | |
** Invoke db:load_config (first_time) | |
** Execute db:load_config | |
** Execute db:migrate | |
rake aborted! | |
An error has occurred, this and all later migrations canceled: | |
Survey is not a class | |
/Users/cannonball/Desktop/survey/db/migrate/20121127190871_update_blank_api_ids_ |
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
def a_test | |
puts 'responded successfully' | |
end |
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
fun sum_list(xs : int list) = | |
if null xs | |
then 0 | |
else hd xs + sum_list(tl xs) |
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
class CompletelyFuckingCustomController < ApplicationController | |
def index | |
@completelyFuckingAwesome = CompletelyFuckingCustom.all | |
end | |
def show | |
@completelyFuckingAwesome = CompletelyFuckingCustom.find(params[:id]) | |
end | |
def 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
class MyApp < Scorched::Controller | |
render_defaults.merge!( | |
engine: :haml, | |
layout: :index | |
) | |
#redirect after a 404 error | |
after status:404 do | |
redirect('/') | |
end | |
middleware << proc { |