有些人會把predicate method 寫在expect 裡面,像這樣: RSpec.describe "predicate method" do it "use ruby method" do expect(16.even?).to eq(true) end end.
確定! 回上一頁