Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed spec, use correct path helper for data files.

  • Loading branch information...
commit bacd84576f598453c036b428afddd2a8af7b5957 1 parent 34bb3b1
@sdeming sdeming authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/writing_spec.rb
View
2  spec/writing_spec.rb
@@ -11,7 +11,7 @@
end
it "should create a new workbook and write something to it" do
- name = "spec/data/timesheet-#{Time.now.strftime('%Y%m%d%H%M%S%s')}.xlsx"
+ name = TestDataFile.expand_path("timesheet-#{Time.now.strftime('%Y%m%d%H%M%S%s')}.xlsx")
create_timesheet_spreadsheet(name)
book = POI::Workbook.open(name)
book.worksheets.size.should == 1

0 comments on commit bacd845

Please sign in to comment.
Something went wrong with that request. Please try again.