期望改变值或抛出异常
expect {}.to change {}.from().to() expect {}.to raise_error(YourMenthodError)
您可能感兴趣的文章
You must be logged in to post a comment.