Getting frozen warnings from our specs
Created by: myronmarston
It depends on the seed, though. Running against 1183cbf5:
$ bin/rspec --seed 54573
/Users/myron/code/rspec-dev/repos/rspec-mocks/spec/rspec/mocks/any_instance_spec.rb:1053: warning: assigned but unused variable - e
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
.......................................................................................................................................................*............WARNING: rspec-mocks was unable to restore the original `foo` method on #<struct foo=:bar> because it has been frozen. If you reuse this object, `foo` will continue to respond with its stub implementation. Warning generated from spec at `./spec/rspec/mocks/matchers/receive_spec.rb:224`.
.WARNING: rspec-mocks was unable to restore the original `foo` method on #<struct foo=:bar> because it has been frozen. If you reuse this object, `foo` will continue to respond with its stub implementation. Warning generated from spec at `./spec/rspec/mocks/matchers/receive_spec.rb:217`.
...............................................WARNING: rspec-mocks was unable to restore the original `foo` method on #<struct foo=:bar> because it has been frozen. If you reuse this object, `foo` will continue to respond with its stub implementation. Warning generated from spec at `./spec/rspec/mocks/matchers/receive_spec.rb:224`.
.WARNING: rspec-mocks was unable to restore the original `foo` method on #<struct foo=:bar> because it has been frozen. If you reuse this object, `foo` will continue to respond with its stub implementation. Warning generated from spec at `./spec/rspec/mocks/matchers/receive_spec.rb:217`.
.......................................................*...*...................................................................................................................................................................................**.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
vs:
$ bin/rspec --seed 44608
/Users/myron/code/rspec-dev/repos/rspec-mocks/spec/rspec/mocks/any_instance_spec.rb:1053: warning: assigned but unused variable - e
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.............*...............................................................................................................................................................*..............................................................................................................................................................................................................................................................................................................................................................................*.*..............
@samphippen