Bumped VERSION to 0.1.4
Updated CHANGELOG * Added postgresql spec configuration * Using database_cleaner gem from master branch
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
RSpec.configure do |config|
|
||||
|
||||
config.before(:suite) do
|
||||
DatabaseCleaner.strategy = :transaction
|
||||
DatabaseCleaner.clean_with(:truncation)
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
DatabaseCleaner.start
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user