Update transactions_controller_test.rb

Changed errors from "purchased_stock_in" to "purchased_stock_id"