mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Rename deprecated RSpec method
Use `double` instead of `mock`.
This commit is contained in:
parent
fc4594f3f9
commit
b41d73bbdb
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue