if_ok method for specs

make special method to add "if everything is OK" context
remove "No newline at end of file"
add SalePackagesController spec