Permalink
Browse files

Add spec for Bug 920028.

  • Loading branch information...
1 parent e018a13 commit 9e18224554478904d020bd1358340a07c267c0e9 @BanzaiMan BanzaiMan committed Mar 12, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 spec/rhc/commands/authorization_spec.rb
@@ -42,6 +42,15 @@ def self.expect_an_unsupported_message
expect_an_unsupported_message
end
+
+ describe '#run' do
+ let(:arguments) { ['authorization', '--h']}
+ context 'given --h' do
+ it 'should not raise SystemStackError' do
+ expect{ run }.should_not raise_error(SystemStackError)
+ end
+ end
+ end
describe "#delete" do
let(:arguments) { ['authorization', 'delete', 'foo', 'bar'] }

0 comments on commit 9e18224

Please sign in to comment.