test/unit/specification_test.rb in sprout-1.0.35.pre vs test/unit/specification_test.rb in sprout-1.1.2.pre
- old
+ new
@@ -1,9 +1,9 @@
require 'test_helper'
class SpecificationTest < Test::Unit::TestCase
- include SproutTestCase
+ include Sprout::TestHelper
context "a newly defined specification" do
setup do
@spec = Sprout::Specification.new do |s|
s.version = '1.0.pre'
@@ -111,10 +111,16 @@
assert_equal :linux, target.platform
end
end
end
+=begin
+ ##
+ # This test method is EXTREMELY slow!
+ # It attempts to download and unpack the
+ # Flex SDK - but only the first time
+ # it's run on a particular system...
context "a universal collection of executables" do
setup do
@spec = Sprout::Specification.new do |s|
s.name = 'flex4'
@@ -142,9 +148,10 @@
should "make binaries available" do
mxmlc = Sprout::Executable.load :mxmlc
assert_not_nil mxmlc
end
end
+=end
context "a newly included executable" do
setup do
@echo_chamber = File.join fixtures, 'executable', 'echochamber_gem', 'echo_chamber'
$:.unshift File.dirname(@echo_chamber)