Sha256: 15160d0127304084ee6a1ad9d794ebce00a41487c5c8a5139b561f76a800e21b

Contents?: true

Size: 657 Bytes

Versions: 76

Compression:

Stored size: 657 Bytes

Contents

module Spud
  module Cms
    module TestFiles
      class << self
        def load_all
          load_specs
          load_factories
          load_support
        end
        
        def load_specs
          Dir[File.join(File.expand_path('../../../', __FILE__), "spec/**/*_spec.rb")].each {|f| require f}
        end
          
        def load_factories
          Dir[File.join(File.expand_path('../../../', __FILE__), "factories/*")].each {|f| require f}
        end
        
        def load_support
          Dir[File.join(File.expand_path('../../../', __FILE__), "spec/support/**/*.rb")].each {|f| require f}
        end
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 2 rubygems

Version Path
tb_cms-1.2.3 lib/spud_cms/test_files.rb
tb_cms-1.2.2 lib/spud_cms/test_files.rb
tb_cms-1.2.1 lib/spud_cms/test_files.rb
tb_cms-1.2.0 lib/spud_cms/test_files.rb
tb_cms-1.2.0.beta3 lib/spud_cms/test_files.rb
tb_cms-1.2.0.beta1 lib/spud_cms/test_files.rb
tb_cms-1.1.5 lib/spud_cms/test_files.rb
tb_cms-1.1.4 lib/spud_cms/test_files.rb
spud_cms-1.0.2 lib/spud_cms/test_files.rb
spud_cms-1.0.1 lib/spud_cms/test_files.rb
spud_cms-1.0.0 lib/spud_cms/test_files.rb
tb_cms-1.1.3 lib/spud_cms/test_files.rb
tb_cms-1.1.2 lib/spud_cms/test_files.rb
tb_cms-1.1.1 lib/spud_cms/test_files.rb
spud_cms-1.0.0.rc1.4 lib/spud_cms/test_files.rb
tb_cms-1.1.0 lib/spud_cms/test_files.rb
spud_cms-1.0.0.rc1.3 lib/spud_cms/test_files.rb
spud_cms-1.0.0.rc1.2 lib/spud_cms/test_files.rb
spud_cms-1.0.0.rc1.1 lib/spud_cms/test_files.rb
spud_cms-1.0.0.RC1 lib/spud_cms/test_files.rb