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