Alias for stub
Stubs a chain of methods. Especially useful with fluent and/or composable interfaces.
double.stub_chain("foo.bar") { :baz } double.stub_chain(:foo, :bar) { :baz } Article.stub_chain("recent.published") { [Article.new] }
Alias for unstub
[Validate]