Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am lanceh on github.
  • I am lancehampton (https://keybase.io/lancehampton) on keybase.
  • I have a public key ASBaB5mLMYE0BlJLE6wgmmfE7Wnitukc-lhB5q-VaJXN9wo

To claim this, I am signing this object:

@LanceH
LanceH / Rakefile
Last active December 23, 2015 06:38
Rakefile to kick off some new test code.
require 'rake/testtask'
Rake::TestTask.new do |t|
t.test_files = FileList['test*.rb']
t.verbose = true
end
task :setup do |t|
name = File.basename(Dir.getwd)
test_name = "test_#{name}.rb"
@LanceH
LanceH / Rakefile
Last active December 23, 2015 00:49
One of each item from an array of arrays.
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test*.rb']
t.verbose = true
end