Sha256: 1416ed08173062605c4298e0921d43a3b50b20ea89ed8d33a4ee26c6fc98a7fc

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

<html>
  <!-- Required Scripts -->
  <script src="../../../../../public/javascripts/prototype.js" type="text/javascript"></script>
  <script src="../../../../../public/javascripts/effects.js" type="text/javascript"></script>
  <script src="../../../../../public/javascripts/dragdrop.js" type="text/javascript"></script>
  <script src="../../../../../public/javascripts/controls.js" type="text/javascript"></script>
  <script src="../../public/javascripts/comatose/admin.js"></script>
  <!-- Unit Tests -->
  
  <script>
    var Tests = {
      title: "Comatose JS Tests",
    //  description: "Methods that start with testFail test that assertions fail property.",
      
      test_String_toSlug: function() {
        assertEqual( 'hello-how-are-you', 'Hello, How Are You?'.toSlug() );
        assertEqual( 'i-have-too-much-space', 'I    have  too   much space'.toSlug() );
        assertEqual( 'what-about-dashes', 'What about - dashes?'.toSlug() );
        assertEqual( 'a-bizarre-title', 'A !@!@#$%^&*()_+{} Bizarre TiTle!'.toSlug() );
        assertEqual( '001-numbers-too', '001 Numbers too'.toSlug() );
      }
    }
  </script>
  <!-- UnitTestRunner -->
  <script src="test_runner.js"></script>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 test/javascripts/test.html
comatose-rubyisbeautiful-3.0.4 test/javascripts/test.html
comatose-rubyisbeautiful-3.0.3 test/javascripts/test.html
comatose-rubyisbeautiful-3.0.2 test/javascripts/test.html
comatose-rubyisbeautiful-3.0.1 test/javascripts/test.html
comatose-rubyisbeautiful-3.0.0 test/javascripts/test.html