Sha256: 4381c677bd0e7172d3346046cffcc8d28ea456cfb087de7217442aea51603af3

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

#--
# =============================================================================
# Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
# All rights reserved.
#
# This source file is distributed as part of the Needle dependency injection
# library for Ruby. This file (and the library as a whole) may be used only as
# allowed by either the BSD license, or the Ruby license (or, by association
# with the Ruby license, the GPL). See the "doc" subdirectory of the Needle
# distribution for the texts of these licenses.
# -----------------------------------------------------------------------------
# needle website : http://needle.rubyforge.org
# project website: http://rubyforge.org/projects/needle
# =============================================================================
#++

$:.unshift "../../lib"

require "needle"
require "test/unit"
require File.join( File.dirname( __FILE__ ), "model_test" )

class TC_Model_Singleton_Initialize < Test::Unit::TestCase
  include ModelTest

  use :singleton_initialize

  assert_singleton
  assert_immediate
  assert_init

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
needle-0.9.0 test/models/tc_singleton_initialize.rb
needle-1.2.0 test/models/tc_singleton_initialize.rb
needle-1.2.1 test/models/tc_singleton_initialize.rb
needle-0.6.0 test/models/tc_singleton_initialize.rb
needle-1.0.0 test/models/tc_singleton_initialize.rb
needle-1.1.0 test/models/tc_singleton_initialize.rb