Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > e46786fcdfb3a1a1334adac0b086df1f > files > 1

rubygem-compass-0.11.5-2.fc16.src.rpm

diff -sup compass-0.11.5/Rakefile compass-0.11.5.new/Rakefile
--- Rakefile	2011-09-28 11:42:52.000000000 -0400
+++ Rakefile	2011-09-28 09:30:57.000000000 -0400
@@ -1,6 +1,6 @@
 require 'rubygems'
-require 'bundler'
-Bundler.setup
+
+$: << "lib"
 require 'compass'
 
 # ----- Default: Testing ------
diff -sup compass-0.11.5/test/integrations/compass_test.rb compass-0.11.5.new/test/integrations/compass_test.rb
--- test/integrations/compass_test.rb	2011-09-28 11:42:52.000000000 -0400
+++ test/integrations/compass_test.rb	2011-09-28 11:49:30.000000000 -0400
@@ -62,17 +62,6 @@ class CompassTest < Test::Unit::TestCase
     end
   end
 
-  def test_compass
-    within_project('compass') do |proj|
-      each_css_file(proj.css_path) do |css_file|
-        assert_no_errors css_file, 'compass'
-      end
-      each_sass_file do |sass_file|
-        assert_renders_correctly sass_file, :ignore_charset => true
-      end
-    end
-  end
-
   def test_busted_image_urls
     within_project('busted_image_urls') do |proj|
       each_css_file(proj.css_path) do |css_file|
diff -sup compass-0.11.5/test/units/sprites/sprite_command_test.rb compass-0.11.5.new/test/units/sprites/sprite_command_test.rb
--- test/units/sprites/sprite_command_test.rb	2011-09-28 11:42:52.000000000 -0400
+++ test/units/sprites/sprite_command_test.rb	2011-09-28 11:09:08.000000000 -0400
@@ -37,7 +37,7 @@ class SpriteCommandTest < Test::Unit::Te
   def run_compass_with_options(options)
     output = 'foo'
     ::Dir.chdir @test_dir
-    %x{compass #{options.join(' ')}}
+    %x{../../../../bin/compass #{options.join(' ')}}
   end
 
   def options_to_cli(options)
@@ -57,4 +57,4 @@ class SpriteCommandTest < Test::Unit::Te
     assert File.exists?(File.join(test_dir, 'stylesheet.scss'))
   end
 
-end
\ No newline at end of file
+end