My Recent Pastes (5 and counting)

All Pasties (over 5 and counting)

Below are summaries of the 5 most recent pasties by brianjlandau.

July 02, 2008
10:50AM EDT
by brianjlandau

1
2
3
4
5
require File.dirname(__FILE__) + '/generator_test_init'

class HelperGeneratorTest < GeneratorTestCase
  def setup
    super

July 02, 2008
10:38AM EDT
by brianjlandau

1
2
3
4
5
# generator_test_init.rb

# This is so the initializer is properly found
$:.unshift Gem.searcher.find('rails_generator').full_gem_path + '/lib'
ENV["RAILS_ENV"] = "test"

July 02, 2008
10:37AM EDT
by brianjlandau

1
2
3
4
5
# generator_test_init.rb

# This is so the initializer is properly found
$:.unshift Gem.searcher.find('rails_generator').full_gem_path + '/lib'
ENV["RAILS_ENV"] = "test"

June 05, 2008
6:56PM EDT
by brianjlandau

1
2
3
4
5
## test_helper.rb

ENV["RAILS_ENV"] = "test"
PLUGIN_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))

June 04, 2008
1:16PM EDT
by brianjlandau

1
2
3
4
5
## test_helper.rb

ENV["RAILS_ENV"] = "test"
PLUGIN_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))