阅读背景:

将`puts`模拟到Rspec中的文件

来源:互联网 

I have a silly "queue-class[1]" with the following method, that I want to spec out with Rspec. I am not interested in testing if writing to the file-system works (It works, my computer works) but in whether or not the correct data gets written away. I have a silly "queue-class[1]" with the follow




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: