Sha256: 4114bcac173ab8d753fe96c443554aacd529870542c40daf84186fa90eec42ef

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

require 'spec_helper'
module Alf
  class Adapter
    describe Folder do

      let(:adapter_class){ Folder }

      let(:recognized_conn_specs) do
        [ File.dirname(__FILE__), Path.dir ]
      end

      it_should_behave_like "an adapter class"

      describe "recognizes?" do

        it 'is not be too permissive' do
          Folder.recognizes?("not/an/existing/one").should be_false
        end
      end

    end # describe Folder
  end # class Adapter
end # module Alf

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-adapter-fs/folder/test_adapter_class.rb
alf-core-0.14.0 spec/unit/alf-adapter-fs/folder/test_adapter_class.rb
alf-core-0.13.1 spec/unit/alf-adapter-fs/folder/test_adapter_class.rb
alf-core-0.13.0 spec/unit/alf-adapter-fs/folder/test_adapter_class.rb