Sha256: 2fea3e2dfe55ff8211b5a320f5158b3b89aa9a246ff0d00008a31e8e8483f0f0

Contents?: true

Size: 816 Bytes

Versions: 121

Compression:

Stored size: 816 Bytes

Contents

require 'spec_helper'

describe Listen::Adapters::Darwin do
  if mac?
    if Listen::Adapters::Darwin.usable?
      it "is usable on Mac OS X >= 10.6" do
        described_class.should be_usable
      end

      it_should_behave_like 'a filesystem adapter'
      it_should_behave_like 'an adapter that call properly listener#on_change'
    else
      it "isn't usable on Mac OS X with #{RbConfig::CONFIG['RUBY_INSTALL_NAME']}" do
        described_class.should_not be_usable
      end
    end

  end

  if windows?
    it "isn't usable on Windows" do
      described_class.should_not be_usable
    end
  end

  if linux?
    it "isn't usable on Linux" do
      described_class.should_not be_usable
    end
  end

  if bsd?
    it "isn't usable on BSD" do
      described_class.should_not be_usable
    end
  end
end

Version data entries

121 entries across 112 versions & 10 rubygems

Version Path
sass-3.4.2 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.4.1 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.4.0 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.4.0.rc.3 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.14 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.13 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.12 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.4.0.rc.2 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.11 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.4.0.rc.1 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.10 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.9 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.8 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.7 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.6 vendor/listen/spec/listen/adapters/darwin_spec.rb
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/sass-3.2.14/vendor/listen/spec/listen/adapters/darwin_spec.rb
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/sass-3.2.14/vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.3.5 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.2.19 vendor/listen/spec/listen/adapters/darwin_spec.rb
sass-3.2.18 vendor/listen/spec/listen/adapters/darwin_spec.rb