Sha256: 1372e25150e2928f2ae1adcd5483b386ca4f76a8d1057e9879fd4d8caa549ce9

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper.rb'

class DijitConventionsTest < GeneratorTest
  def test_basics
    dijit=Depo::DijitConventions.new('app.my.Dijit')

    assert_equal('public/ria/src/app/my', dijit.package_path)
    assert_equal('public/ria/src/app/themes/tundra/my', dijit.style_dir_path)
    assert_equal('public/ria/src/app/tests/my', dijit.test_dir_path)

    assert_equal('public/ria/src/app/my/Dijit.js', dijit.class_path)
    assert_equal('public/ria/src/app/themes/tundra/my/Dijit.css', dijit.style_path)
    assert_equal('public/ria/src/app/tests/my/Dijit.js', dijit.test_code_path)
    assert_equal('public/ria/src/app/tests/my/Dijit.html', dijit.test_page_path)

    assert_not_nil(dijit.to_hash)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
depo-0.0.5 test/path_utils_test.rb
depo-0.0.4 test/path_utils_test.rb
depo-0.0.2 test/path_utils_test.rb
depo-0.0.1 test/path_utils_test.rb