1 require File.dirname(__FILE__) + '/spec_helper'
3 describe "pdf conversion" do
5 convert_file "textselectspaces.pdf" do
6 area_at(32,22,257,46).should_contain_text 'The quick brown fox'
7 area_at(32,53,226,77).should_contain_text 'The quick brown fox'
8 area_at(31,84,198,108).should_contain_text 'Thequickbrownfox'
9 area_at(33,111,423,137).should_contain_text 'Thequickbrownfox'
10 area_at(35,141,455,167).should_contain_text 'The quick brown fox'