Sha256: 8ce5f89d57dc61752e64562c1b0e8228a494193554978f9e5c3a0c3e1017a683
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
require './spec/spec_helper' describe DayOne::PlistReader do describe "#initialize" do it "should default to the normal preference file" do File.should exist(subject.path) end end describe "#body" do it "should give us the location of the DayOne journal file" do subject.should have_key('NSNavLastRootDirectory') end it "should correctly parse binary plists" do reader = DayOne::PlistReader.new(File.join(File.dirname(__FILE__),'sample.plist')) reader['foo'].should == 'bar' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rb-dayone-0.2.0 | spec/plist_reader_spec.rb |