Skip to content

Instantly share code, notes, and snippets.

View siraskalot's full-sized avatar

Arunan Skanthan siraskalot

View GitHub Profile
@qrush
qrush / Gemfile
Last active December 10, 2015 21:38
Simple Rakefile and Gemfile for using SCSS and CoffeeScript with Jekyll without plugins
source 'https://rubygems.org'
gem 'jekyll'
gem 'maruku'
gem 'rake'
gem 'sass'
gem 'coffee-script'
@peterhellberg
peterhellberg / Gemfile
Created April 10, 2012 11:51
Sinatra acceptance testing, using minitest/spec and capybara-webkit
source :rubygems
gem "sinatra", "~> 1.3.2"
group :test do
gem "minitest", "~> 2.10"
gem "rack-test", "~> 0.6.1"
gem "capybara", "~> 1.1"
gem "capybara-webkit", "~> 0.11"
gem "capybara_minitest_spec", "~> 0.2"
@rmurphey
rmurphey / gist:846908
Created February 28, 2011 03:47
examples of testing with jasmine
function multiply(a, b) {
return a * b;
}
function divide(a, b) {
if (b === 0) {
throw "Don't try to divide by zero!";
}
return Math.round(a / b);