spec/entry_spec.rb in rb-dayone-0.1.6 vs spec/entry_spec.rb in rb-dayone-0.1.7
- old
+ new
@@ -5,10 +5,10 @@
let(:entry){ DayOne::Entry.new }
after :all do
Dir['spec/entries/*.doentry'].each{ |f| FileUtils.rm(f) }
- FileUtils.rm('spec/entries')
+ FileUtils.rmdir('spec/entries')
end
describe "#to_xml" do
it "should give a default entry" do
e = entry.to_xml
\ No newline at end of file