Here's the way I might set these up:

```ruby
context 'when the param is a hash' do
  context 'when the action is allowed' do
    it 'returns true' do
      role.stub(:allowed_actions).and_return(['blah/diblah'])
      role.allowed_to?(:controller => 'blah', :action => 'diblah').should be_true
    end
    it 'returns false' do
    end
    ...
```