fix rspec test for print version