Adding test for formatter

I have added database cleaner as for formatter spec it was trying to
use inbuild transactional fixture flag, which was failing as it
couldn't find any transaction to rollback. Hence switched to using
database_cleaner gem for using truncation as strategy
This commit is contained in:
Garima Singh
2016-08-11 14:45:51 +08:00
parent 1bd138b0fb
commit 2fae4a0a30
8 changed files with 450 additions and 2 deletions

View File

@@ -22,4 +22,5 @@ end
group :test do
gem 'test-unit'
gem 'database_cleaner'
end