Rename deprecated RSpec method

Use `double` instead of `mock`.
This commit is contained in:
Sebastian Skałacki 2016-03-31 03:34:28 +02:00
parent fc4594f3f9
commit b41d73bbdb

View file

@ -10,7 +10,7 @@ module DatabaseCleaner
describe Base do
let(:mock_strategy) {
mock("strategy").tap{|strategy|
double("strategy").tap{|strategy|
strategy.stub(:to_ary => [strategy])
}
}