test/lib/troo/cli/thor_fixes_test.rb in troo-0.0.12 vs test/lib/troo/cli/thor_fixes_test.rb in troo-0.0.13
- old
+ new
@@ -17,9 +17,11 @@
subject do
described_class.banner(command, namespace, subcommand)
end
+ it { subject.must_be_instance_of(String) }
+
context 'when executing a subcommand' do
let(:package_name) { 'show' }
it 'package_name has a leading space' do
subject.must_match(/show usage/)