我有以下 rspec 示例:
describe "with spike" do
it "succeeds" do
a = double('whatever')
a.should_receive(:b).with(true)
a.b('not false')
end
end
我怎样才能with
接受任何非错误的论点?
我有以下 rspec 示例:
describe "with spike" do
it "succeeds" do
a = double('whatever')
a.should_receive(:b).with(true)
a.b('not false')
end
end
我怎样才能with
接受任何非错误的论点?