tools

various tools I have been using throughout the years
Log | Files | Refs | README | LICENSE

cli_spec.rb (311B)


      1 # frozen_string_literal: true
      2 
      3 require 'spec_helper'
      4 
      5 describe Hue::CLI do
      6   it 'can be loaded' do
      7     expect(described_class).to be_a(Module)
      8   end
      9 
     10   it 'has valid commands' do
     11     # Trigger object space loading
     12     described_class.send(:commands_in_object_space)
     13     # Just ensure it doesn't crash
     14   end
     15 end