Yes, you told me that it is going to be deprecated, when I specify double('Rails'), following exception occurs:
     Failure/Error: Object.const_set(:Rails, double('Rails'))
     NoMethodError:
       undefined method `double' for #<RSpec::Core::ExampleGroup::Nested_1:0x007fb3a74dc170>
I'll spend some time tomorrow looking into this.