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: Refund item | |
Scenario: Jeff returns a faulty microwave | |
Given Jeff has bought a microwave for $100 | |
And he has a receipt | |
When he returns the microwave | |
Then Jeff should be refunded $100 |
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
'use strict'; | |
loadFeature('features/simpleStory.feature'); | |
feature('Refund item', function() { | |
scenario(/(\w+) returns a faulty microwave/, function(user) { | |
given(/(\w+) has bought a microwave for \$(\d+)/, function(client, summa) { | |
}); | |
and('he has a receipt', function() { | |
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
'use strict' | |
var apolog = require('apolog'), | |
fs = require('fs'), | |
_loadFeature = apolog.loadFeature; | |
global.feature = apolog.feature; | |
global.scenario = apolog.scenario; | |
global.background = apolog.background; | |
global.given = apolog.given; | |
global.when = apolog.when; |
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
{ | |
"name": "example", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "jasmine" | |
}, | |
"license": "ISC", | |
"devDependencies": { |
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
[user] | |
name = Andres Rios | |
email = [email protected] | |
[push] | |
default = matching | |
[core] | |
editor = vim | |
[color] | |
ui = true | |
[alias] |
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
'use strict'; | |
window.feature = apolog.feature; | |
window.scenario = apolog.scenario; | |
window.step = apolog.step; | |
window.given = apolog.given; | |
window.when = apolog.when; | |
window.then = apolog.then; | |
window.but = apolog.but; | |
window.and = apolog.and; |
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
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific aliases and functions | |
alias nave='~/.nave/nave.sh' | |
alias nstable='nave use stable' |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'othree/yajs.vim' | |
Plugin 'othree/html5.vim' |
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
<!doctype html> | |
<html> | |
<head> | |
<style> | |
.fullwindow { | |
position: absolute; | |
height: 100%; | |
width: 100%; | |
top: 0px; | |
left: 0px; |
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
<!doctype html> | |
<html> | |
<body> | |
<button>Fire error</button> | |
<script> | |
'use script'; | |
window.addEventListener('error', e => { | |
console.error('catch error', e); | |
}); |
OlderNewer