Update spec_helper.rb

fixes `block` function to be more flexible (doesnt rely on html tables anymore)