Fingertips-headless-squirrel 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. data/README.rdoc +3 -1
  2. data/VERSION.yml +1 -1
  3. data/lib/headless_squirrel/runner.rb +1 -1
  4. data/lib/headless_squirrel/test_case.rb +50 -19
  5. data/test/regression/scriptaculous/unit/ajax_autocompleter_test.html +4 -4
  6. data/test/regression/scriptaculous/unit/ajax_inplaceeditor_test.html +4 -4
  7. data/test/regression/scriptaculous/{src → unit/assets}/builder.js +0 -0
  8. data/test/regression/scriptaculous/{src → unit/assets}/controls.js +0 -0
  9. data/test/regression/scriptaculous/{src → unit/assets}/dragdrop.js +0 -0
  10. data/test/regression/scriptaculous/{src → unit/assets}/effects.js +0 -0
  11. data/test/regression/scriptaculous/{src → unit/assets}/javascripttest.rb +0 -0
  12. data/test/regression/scriptaculous/unit/assets/prototype.js +4320 -0
  13. data/test/regression/scriptaculous/{src → unit/assets}/scriptaculous.js +0 -0
  14. data/test/regression/scriptaculous/{src → unit/assets}/slider.js +0 -0
  15. data/test/regression/scriptaculous/{src → unit/assets}/sound.js +0 -0
  16. data/test/regression/scriptaculous/{src → unit/assets}/unittest.js +0 -0
  17. data/test/regression/scriptaculous/unit/bdd_test.html +150 -0
  18. data/test/regression/scriptaculous/unit/builder_test.html +4 -4
  19. data/test/regression/scriptaculous/unit/dragdrop_test.html +4 -4
  20. data/test/regression/scriptaculous/unit/effects_test.html +4 -4
  21. data/test/regression/scriptaculous/unit/element_test.html +4 -4
  22. data/test/regression/scriptaculous/unit/index.html +3 -3
  23. data/test/regression/scriptaculous/unit/loading_test.html +4 -4
  24. data/test/regression/scriptaculous/unit/position_clone_test.html +4 -4
  25. data/test/regression/scriptaculous/unit/slider_test.html +4 -4
  26. data/test/regression/scriptaculous/unit/sortable_test.html +4 -4
  27. data/test/regression/scriptaculous/unit/string_test.html +4 -4
  28. data/test/regression/scriptaculous/unit/unittest_test.html +4 -4
  29. metadata +29 -19
  30. data/Rakefile +0 -49
data/Rakefile DELETED
@@ -1,49 +0,0 @@
1
- task :default => :test
2
-
3
- desc "Run the tests"
4
- task :test do
5
- sh "specrb -s #{Dir['test/unit/*_test.rb'].join(' ')}"
6
- end
7
-
8
- # HeadlessSquirrel::Rake::Runner.new :regression do |t|
9
- # t.files = Dir['test/regression/prototype/unit/*.html']
10
- # end
11
-
12
- desc "Run all the regression tests"
13
- task :ci do
14
- sh "./bin/jstest #{Dir['test/regression/**/unit/*_test.html'].join(' ')}"
15
- end
16
-
17
- namespace :ci do
18
- desc "Run the prototype regression tests"
19
- task :prototype do
20
- sh "./bin/jstest #{Dir['test/regression/prototype/unit/*_test.html'].join(' ')}"
21
- end
22
-
23
- desc "Run the scriptaculous regression tests"
24
- task :scriptaculous do
25
- sh "./bin/jstest #{Dir['test/regression/scriptaculous/unit/*_test.html'].join(' ')}"
26
- end
27
- end
28
-
29
- begin
30
- require 'jeweler'
31
- Jeweler::Tasks.new do |gemspec|
32
- gemspec.name = "headless-squirrel"
33
- gemspec.summary = "A command-line JavaScript test runner for the Mac."
34
- gemspec.description = "A OS X command line tool to run JavaScript (Prototype) unit tests from the comfort of your terminal."
35
- gemspec.homepage = "http://github.com/Fingertips/headless-squirrel/tree/master"
36
-
37
- gemspec.email = "eloy.de.enige@gmail.com"
38
- gemspec.authors = ["Eloy Duran"]
39
- end
40
- rescue LoadError
41
- end
42
-
43
- begin
44
- require 'jewelry_portfolio/tasks'
45
- JewelryPortfolio::Tasks.new do |p|
46
- p.account = 'Fingertips'
47
- end
48
- rescue LoadError
49
- end