Skip to content

Instantly share code, notes, and snippets.

View CobyR's full-sized avatar

Coby Randquist CobyR

View GitHub Profile
require 'nokogiri'
namespace :import do
desc "Import XML file"
task :xml => :environment do
xml_file = File.dirname(__FILE__) + "/../../db/one.xml"
rtf_directory = File.dirname(__FILE__) + "/../../db/txt/"
puts "DESTROYING! "
When we agreed that the marriage
was over and that it would be okay
by each of us to pursue happiness
with someone else, I really had no
idea how much it would hurt when
she did.
@CobyR
CobyR / gist:12615
Created September 24, 2008 17:28
Software Development Manager Unit Test
require 'test_helper'
class DevelopmentManagerTest < Test::Unit::TestCase
fixtures :development_managers
fixtures :teams
def setup
@candidate = development_managers(:ideal)
@team = teams(:web_tier)