lib/rspec/matchers/built_in/change.rb in rspec-expectations-2.12.1 vs lib/rspec/matchers/built_in/change.rb in rspec-expectations-2.13.0

- old
+ new

@@ -26,11 +26,11 @@ MESSAGE end def evaluate_value_proc case val = @value_proc.call - when Enumerable + when Enumerable, String val.dup else val end end @@ -70,10 +70,10 @@ end def by_at_most(maximum) @maximum = maximum self - end + end def to(to) @eval_after = true @expected_after = to self