Sha256: 7d21fa27df2f642a68c3ccee936f095d9a04bd9f4b7b012fe2f29ef82488ff33
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '../../spec_helper') describe "Wagon::Directory" do before(:each) do @page = Wagon::Directory.new($user, $user.ward.directory_path) end it "should find the photo directory link" do @page.photo_directory_path.should_not be_nil @page.photo_directory_path.should match(%r{^/units/a/directory/photoprint}) end it "should be able to generate a pdf" do @page.to_pdf.render_file("./photo_directory.pdf") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wagon-0.9.1 | spec/wagon/directory_spec.rb |
wagon-0.9.0 | spec/wagon/directory_spec.rb |