Sha256: 5e570d336a47ae466040c8823135f79454d03eddd944d7d6ccaa0b7ae167a496
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
describe '#event' do before { init_lastfm } it 'should return an instance of Lastfm::Event' do @lastfm.event.should be_an_instance_of(Lastfm::MethodCategory::Event) end describe '#get_info' do it 'should get info' do @lastfm.should_receive(:request).with('event.getInfo', { :event => 1073657 }).and_return(make_response('event_get_info')) info = @lastfm.event.get_info(1073657) info['title'].should == 'Neko Case' end end end
Version data entries
5 entries across 5 versions & 1 rubygems