Sha256: ed08197eb8829b8ef6a3e5628b4f4f55a3fd48d7b2794c68855ab408d9a4d63a

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe "IndexedDirectories" do
  it "should be defined" do
    lambda {IndexedDirectories}.should_not raise_error(NameError)
  end
  
  it "should not be empty" do
    IndexedDirectories.should_not be_empty
  end
  
  it "should only contain existing directories" do
    IndexedDirectories.keys.all?{|dir|
      File.should be_directory(dir)
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.0.99 app_generators/picolena/templates/spec/models/index_directories_spec.rb
picolena-0.1.0 lib/picolena/templates/spec/models/index_directories_spec.rb
picolena-0.1.1 lib/picolena/templates/spec/models/index_directories_spec.rb