Sha256: dc3b32d0398b0452e5027d57f4646c06e7614412ccf86191a00b5b6018915dde

Contents?: true

Size: 1.66 KB

Versions: 13

Compression:

Stored size: 1.66 KB

Contents

FileSet error cases

FileSet
  should be a FileSet::Set
  retrieving files
    should get default text files
    should get text files from library files
    should get default nested files
    should get text files from filesystem

FileSet - the unpath method:
  state => ["state"]
  a File => #path

FileSet
  FileSet::Populator
    should populate successfully
  FileSet::ReversePopulator
    should populate successfully

FileSet
  should be addable
  should add in order

FileSet::Item
  full_path
    should be an instance of FileSet::DefinedDefaults (FAILED - 1)
  raw_file
     (FAILED - 2)
  contents
     (FAILED - 3)
  #contents=
    should save contents (FAILED - 4)
    should make contents available (FAILED - 5)
    contents
      should == "testing"

Failures:

  1) FileSet::Item full_path 
     Failure/Error: its (:full_path) { should == "./root/item" }
     TypeError:
       can't convert String into Array
     # ./spec/item.rb:11

  2) FileSet::Item raw_file 
     Failure/Error: its (:raw_file) { should == File::open("./root/item") }
     TypeError:
       can't convert String into Array
     # ./spec/item.rb:12

  3) FileSet::Item contents 
     Failure/Error: its (:contents) { should == nil }
     TypeError:
       can't convert String into Array
     # ./spec/item.rb:13

  4) FileSet::Item#contents= should save contents
     Failure/Error: subject.save
     TypeError:
       can't convert String into Array
     # ./spec/item.rb:23

  5) FileSet::Item#contents= should make contents available
     Failure/Error: subject.save
     TypeError:
       can't convert String into Array
     # ./spec/item.rb:28

Finished in 0.33091 seconds
17 examples, 5 failures

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
valise-1.1.1 doc/Specification
valise-1.1.0 doc/Specification
valise-1.0.0 doc/Specification
valise-0.9.1 doc/Specification
valise-0.9.0 doc/Specification
valise-0.8.2 doc/Specification
valise-0.8.1 doc/Specification
valise-0.8 doc/Specification
valise-0.7 doc/Specification
valise-0.6 doc/Specification
valise-0.5 doc/Specification
valise-0.4 doc/Specification
valise-0.3 doc/Specification