Skip to content

Commit

Permalink
Add spec for Bug 920028.
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Mar 12, 2013
1 parent e018a13 commit 9e18224
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/rhc/commands/authorization_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }
Expand Down

0 comments on commit 9e18224

Please sign in to comment.