def self.method_added(method)
return if @__disable_method_added__
@__disable_method_added__ = true
case method.to_s
when 'setup'
undef_method :setup_without_fixtures if method_defined?(:setup_without_fixtures)
alias_method :setup_without_fixtures, :setup
define_method(:full_setup) do
setup_with_bigrecord_fixtures
setup_without_fixtures
end
alias_method :setup, :full_setup
when 'teardown'
undef_method :teardown_without_fixtures if method_defined?(:teardown_without_fixtures)
alias_method :teardown_without_fixtures, :teardown
define_method(:full_teardown) do
teardown_fixtures
teardown_with_bigrecord_fixtures
end
alias_method :teardown, :full_teardown
end
@__disable_method_added__ = false
end