diff options
| author | Luc Donnet | 2015-02-13 08:36:50 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-02-13 08:36:50 +0100 | 
| commit | 10b927934ff86a3461514a376884018d895e6ad6 (patch) | |
| tree | d91e32af89ac95ca46fe0e18a538591641baf047 /spec/spec_helper.rb | |
| parent | d71986b6a466f38183e97cf8a3dc460178e4592c (diff) | |
| download | chouette-core-10b927934ff86a3461514a376884018d895e6ad6.tar.bz2 | |
Fix spec with databasecleaner and apartment
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c831d2490..21dbac2ff 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -40,7 +40,7 @@ ActiveRecord::Migration.maintain_test_schema!  RSpec.configure do |config|    #Capybara.exact = true -  Capybara.javascript_driver = :webkit +  Capybara.javascript_driver = :poltergeist    config.filter_run_excluding :js => true    config.run_all_when_everything_filtered = true    config.include TokenInputHelper, :type => :feature @@ -59,7 +59,7 @@ RSpec.configure do |config|    # If you're not using ActiveRecord, or you'd prefer not to run each of your    # examples within a transaction, remove the following line or assign false    # instead of true. -  config.use_transactional_fixtures = true +  config.use_transactional_fixtures = false    # RSpec Rails can automatically mix in different behaviours to your tests    # based on their file location, for example enabling you to call `get` and | 
