Sha256: d5b46dd7161ed9dbc27211cdf74a390ff0ba19c1fe7528b9de12af9e262d462d

Contents?: true

Size: 525 Bytes

Versions: 47

Compression:

Stored size: 525 Bytes

Contents

require 'test_helper'
require 'compass'

class ActionsTest < Test::Unit::TestCase
  class BaseActionExtender
    include Compass::Actions
    def options
      @@options ||= {}
    end
    def working_path
      "/tmp"
    end
  end
  
  # When log4r is included, it sometimes breaks the Actions
  test "test_quiet_option" do
    b = BaseActionExtender.new
    b.logger = ""
    b.options[:quiet] = true

    # logger shouldn't be called... if it is, this will error
    b.directory("/tmp/#{(rand * 1000000).to_i}")
  end
end

Version data entries

47 entries across 46 versions & 4 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-1.0.3/test/units/actions_test.rb
compass-1.0.3 test/units/actions_test.rb
compass-1.1.0.alpha.3 test/units/actions_test.rb
compass-1.1.0.alpha.2 test/units/actions_test.rb
compass-1.1.0.alpha.1 test/units/actions_test.rb
compass-1.1.0.alpha.0 test/units/actions_test.rb
compass-1.0.1 test/units/actions_test.rb
compass-1.0.0 test/units/actions_test.rb
compass-1.0.0.rc.1 test/units/actions_test.rb
compass-1.0.0.rc.0 test/units/actions_test.rb
compass-0.12.7 test/units/actions_test.rb
compass-1.0.0.alpha.21 test/units/actions_test.rb
compass-1.0.0.alpha.20 test/units/actions_test.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/test/units/actions_test.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/test/units/actions_test.rb
compass-0.12.6 test/units/actions_test.rb
compass-0.12.5 test/units/actions_test.rb
compass-0.12.4 test/units/actions_test.rb
compass-1.0.0.alpha.19 test/units/actions_test.rb
compass-0.12.3 test/units/actions_test.rb