Adding the db_spec.rb.

The file contains test for the db.pp
exec(mysql_install_db) is called in if condition and also in else condition ,only the difference is with the attribute require.So that i added attribute in should_not , other wise it was failing.