我有一个像这样的规格 it_behaves_like SharedClass, MyClass.new在我的共享示例规范中,我有 before do endend
在MyClass实例中,有一些方法不能存根到shared_examples_for块中,所以我希望在将它们传递到it_behaves_like语句之前先
变量计数的值是动态的,它的值可以小于0或大于0。所以现在当计数值是1 color should be yellowless than0 meaning negative integers like -1, -2 so on color should be grey const colors = [red, yellow];
r