Sha256: 7c23f1eebf8b6c7542a3e30af930706491f6a777e6b505742a64af5b7bfa1066

Contents?: true

Size: 429 Bytes

Versions: 23

Compression:

Stored size: 429 Bytes

Contents

#encoding: UTF-8
require 'spec_helper'

describe Termit::OutputManager do
  METHOD_NAMES = [:display_error_info_and_quit, :display_help_and_quit, :display_version_and_quit, :display_player_error_and_quit]
  subject { Termit::OutputManager.new }

  describe "instance_methods" do
    it "does what it says" do
      METHOD_NAMES.each do |m|
        expect { subject.send(m) }.to raise_error SystemExit
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
termit-3.9.0 spec/termit/output_manager_spec.rb
termit-3.8.0 spec/termit/output_manager_spec.rb
termit-3.7.0 spec/termit/output_manager_spec.rb
termit-3.6.0 spec/termit/output_manager_spec.rb
termit-3.5.0 spec/termit/output_manager_spec.rb
termit-3.4.0 spec/termit/output_manager_spec.rb
termit-3.2.0 spec/termit/output_manager_spec.rb
termit-3.1.2 spec/termit/output_manager_spec.rb
termit-3.1.1 spec/termit/output_manager_spec.rb
termit-3.1.0 spec/termit/output_manager_spec.rb
termit-3.0.2 spec/termit/output_manager_spec.rb
termit-3.0.1 spec/termit/output_manager_spec.rb
termit-3.0.0 spec/termit/output_manager_spec.rb
termit-2.13.0 spec/termit/output_manager_spec.rb
termit-2.12.1 spec/termit/output_manager_spec.rb
termit-2.12.0 spec/termit/output_manager_spec.rb
termit-2.11.2 spec/termit/output_manager_spec.rb
termit-2.11.1 spec/termit/output_manager_spec.rb
termit-2.11.0 spec/termit/output_manager_spec.rb
termit-2.10.2 spec/termit/output_manager_spec.rb