Public Gists by adkron

Gravatar
Fri Sep 11 13:15:19 -0700 2009
1
2
3
class BackgroundChanger
  def initialize(app)
    @app = app
Gravatar
Thu Sep 10 19:10:57 -0700 2009
1
2
3
testRegistrationIsValidRunsAllValidationsWhenCallingIsValid: function() {with(this) {
        callCountOne = 0;
        callCountTwo = 0;
Gravatar
Fri Aug 28 08:15:35 -0700 2009
1
2
3
fork {system 'echo "startup.sh"'}
 
# RSpec
Gravatar
Thu Apr 30 19:46:23 -0700 2009
1
2
3
gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
 
# Don't load rspec if running "rake gems:*"
Gravatar
Thu Apr 30 19:09:57 -0700 2009
1
2
3
config.cache_classes = true
 
config.whiny_nils = true
Gravatar
Wed Apr 29 16:35:10 -0700 2009
1
2
3
ServerRoot "/etc/apache2"
 
LockFile /var/lock/apache2/accept.lock
Gravatar
Thu Apr 16 08:17:28 -0700 2009
1
2
3
#Other stuff, mostly comments
 
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/mod_passenger.so
Gravatar
Tue Mar 24 12:29:16 -0700 2009
1
2
3
# tokens/termials
 
EQ
Gravatar
Wed Jan 21 13:12:36 -0800 2009
1
2
3
  def cascade_taskrefnos
    child_tasks = Task.find_all_by_parentid(self.id)
    child_tasks.each do |child_task|
Gravatar
Fri Jan 16 07:28:47 -0800 2009
1
2
3
Factory.define(:rate_profile) do |rp|
  rp.start_date(Date.today)
end
Gravatar
Mon Jan 12 14:39:14 -0800 2009
1
2
3
Webrat.configure do |config|
  config.mode = :rails
end
Gravatar
Fri Jan 09 20:30:02 -0800 2009
1
2
3
require 'test_helper'
 
class PeopleIntegrationTest < ActionController::IntegrationTest
Gravatar
Wed Dec 03 12:55:21 -0800 2008
1
2
3
require 'cgi'
module LoggedInControllerExtension
  
Gravatar
Wed Dec 03 12:51:51 -0800 2008
1
2
3
require File.dirname(__FILE__) + '/../test_helper'
 
class LoggedInControllerExtensionTest < ActiveSupport::TestCase