Files
assignment00/spec/assignment_spec.rb
2026-11-14 22:25:16 -07:00

15 lines
304 B
Ruby

# frozen_string_literal: true
# Nathan Hinton
# Test file for the student's code
require 'spec_helper'
RSpec.describe Assignment do
describe '#say_text' do
it 'prints the text `Hello World`' do
expect { described_class.new.say_text }.to output("Hello World\n").to_stdout
end
end
end