Closed qq909244296 closed 1 year ago
it 'prints error message when table if full' do script = (1..1401).map do |i| "insert #{i} user#{i} penson#{i}@example.com" end script << ".exit" result = run_script(script) expect(result[-2]).to eq('db > Error: Table full.') end
when script = (1..100).map do |i|, the error disappeared. Is there any way to solve this problem?
In part5, when i run bundle exec rspec i encounter this problem but not before part4, so what happened?