15 lines
304 B
Ruby
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
|