require_relative 'spec_helper'
require 'remedy/viewport'

describe Remedy::Viewport do
  it 'should be able to execute the example code from the readme' do
    joke = ::Remedy::Content.new
    joke << "Q: What's the difference between a duck?"
    joke << "A: Purple, because ice cream has no bones!"

    screen = ::Remedy::Viewport.new
    screen.draw joke unless ENV['CI']
  end
end
