Sha256: 6ce52e996985e4d8aafc0d7880cd6f3b5c1c768824e2c170c912603112eedce5
Contents?: true
Size: 324 Bytes
Versions: 11
Compression:
Stored size: 324 Bytes
Contents
require "open3" RSpec.describe "array-check" do it 'return "表面積=76\n体積=40\n"' do workshop = "#{ENV['HOME']}/.ruby_learner/workshop" stdout, stderr, status = Open3.capture3("ruby #{workshop}/lib/workplace.rb") expect { puts stdout }.to output("[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n").to_stdout end end
Version data entries
11 entries across 11 versions & 1 rubygems