Sha256: 6f984155033b482ae0868deee0ba71a39a6d91e0ebb2f4923b155f0d0d6f27cc
Contents?: true
Size: 290 Bytes
Versions: 10
Compression:
Stored size: 290 Bytes
Contents
require "open3" RSpec.describe "array-size" do it 'put some datas' do workshop = "#{ENV['HOME']}/.ruby_learner/workshop" stdout, stderr, status = Open3.capture3("ruby #{workshop}/lib/workplace.rb") expect { puts stdout }.to output("[3, 1, 4, 1, 5]\n5\n").to_stdout end end
Version data entries
10 entries across 10 versions & 1 rubygems