Browse Source

Merge branch 'hotfix/0.1.4'

development
Cesidio Di Landa 12 years ago
parent
commit
2d63d7b0e9
  1. 5
      CHANGELOG.md
  2. 2
      Gemfile
  3. 9
      Gemfile.lock
  4. 2
      VERSION
  5. 15
      spec/support/postgresql.rb

5
CHANGELOG.md

@ -1,6 +1,11 @@
Changelog
=========
0.1.4
-----
* Added postgresql spec configuration
* Using database_cleaner gem from master branch
0.1.3
-----
* Added LICENSE file

2
Gemfile

@ -51,7 +51,7 @@ end
group :test do
gem 'capybara'
gem 'coveralls', require: false
gem 'database_cleaner'
gem 'database_cleaner', github: 'bmabey/database_cleaner'
gem 'email_spec'
gem 'launchy'
gem 'rspec'

9
Gemfile.lock

@ -1,3 +1,9 @@
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: 20136e8987c222013d96e07c27d1230d2bbebd61
specs:
database_cleaner (0.9.1)
GEM
remote: https://rubygems.org/
specs:
@ -69,7 +75,6 @@ GEM
thor
crack (0.3.2)
daemons (1.1.9)
database_cleaner (0.9.1)
debug_inspector (0.0.2)
debugger (1.5.0)
columnize (>= 0.3.1)
@ -284,7 +289,7 @@ DEPENDENCIES
capybara
coffee-rails (~> 4.0.0.beta1)
coveralls
database_cleaner
database_cleaner!
debugger
delorean
email_spec

2
VERSION

@ -1 +1 @@
0.1.3
0.1.4

15
spec/support/postgresql.rb

@ -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
Loading…
Cancel
Save