How about:

```ruby
describe '#attribute' do
  it 'returns a hash of attributes associated with the represented resource' do
    @representor_hash =  @base_representor.merge(@semantic_elements)
    semantic_elements_present =  %w(total_count uptime brackreference).all? do |key|
      subject.attributes[key.to_sym] == @semantic_elements[:semantics][key.to_sym][:value]
    end
    semantic_elements_present.should be_true
   end
 end
```