spec/read_resume_spec.rb in resumetools-0.2.8 vs spec/read_resume_spec.rb in resumetools-0.2.8.2
- old
+ new
@@ -56,6 +56,24 @@
it "should have proper dates" do
expect(@resume.sections[3].periods[0].dtstart).to eq "1993"
expect(@resume.sections[3].periods[0].dtend).to eq "Present"
end
+
+ describe "rendering to plain text" do
+ it "should render without errors" do
+ resume_text = @resume.render_plain_text
+ end
+ end
+
+ describe "rendering to JSON" do
+ it "should render without errors" do
+ resume_json = @resume.render_json
+ end
+ end
+
+ describe "rendering to PDF" do
+ it "should render without errors" do
+ pdf_data = @resume.render_pdf
+ end
+ end
end
\ No newline at end of file