that's where i be
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
(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))))) |
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) |