获取失败的rspec测试,表明活动记录超出范围。我不确定为什么它会失败 错误如下所示 Failure/Error: Order.create!product: product)
7554736346861994060 is out of range for ActiveModel::Type::Integer with limit 4 bytes rspec测试 context
当我尝试使用NoMethodError测试我创建的创业板时,我得到了错误RSpec。测试文件:.Checkpercentage, '#intNum' do it "must be a number" do但是,当我在我的终端(rspec spec/lib/校验百分比_spc.rb)中运行rspec命令时,会