Skip to content

Instantly share code, notes, and snippets.

@bkerley
bkerley / sunburst.el
Created February 10, 2009 17:02 — forked from 53cr/sunburst.el
(defun color-theme-sunburst ()
(interactive)
(color-theme-install
'(color-theme-sunburst
((background-color . "#000000")
(foreground-color . "#FFFFFF")
(cursor-color . "#DAD085"))
(default ((t (nil))))
(modeline ((t (:background "DarkRed" :foreground "white"
:box (:line-width 1 :style released-button)))))

Note to Self

Be With Your Mom

that's where i be

Be Confident

Tests build confidence. Write 'em. They'll save your ass, and they'll let you take a chainsaw to your code without being afraid of unintended

require 'spec_helper'
describe GroupsController do
include SessionTestHelper
describe "GET 'show'" do
it "should load the group from the database" do
@the_group = Factory(:group)
Group.stub(:find_active_by_unique_name).with("london-developers").
and_return(@the_group)
require 'spec_helper'
describe GroupsController do
include SessionTestHelper
describe "GET 'show'" do
it "should load the group from the database" do
@the_group = Factory(:group)
Group.stub(:find_active_by_unique_name).with("london-developers").
and_return(@the_group)