cavalle-rspec-rails 1.2.2.0.1 → 1.2.2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,7 +102,11 @@ module Spec
102
102
  )
103
103
  )
104
104
 
105
- dispatcher.cleanup_application if dispatcher.respond_to?(:cleanup_application)
105
+ if ::ActionController::Dispatcher.respond_to?(:cleanup_application)
106
+ ::ActionController::Dispatcher.cleanup_application
107
+ else
108
+ dispatcher.cleanup_application
109
+ end
106
110
  end
107
111
 
108
112
  def in_memory_database?
data/rspec-rails.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rspec-rails}
5
- s.version = "1.2.2.0.1"
5
+ s.version = "1.2.2.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["RSpec Development Team"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cavalle-rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2.0.1
4
+ version: 1.2.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RSpec Development Team