Sha256: 6e94710ff1b968eac0de2c8e3866b5ce95cce7fc558ec7869f3febff6f01c99f
Contents?: true
Size: 329 Bytes
Versions: 6
Compression:
Stored size: 329 Bytes
Contents
require 'rest-more/test' describe RC::StackExchange do after do WebMock.reset! end would 'me' do stub_request(:get, 'https://api.stackexchange.com/me?key=yek&site=stackoverflow'). to_return(:body => '{"name":"meme"}') RC::StackExchange.new(:key => 'yek').me.should.eq 'name' => 'meme' end end
Version data entries
6 entries across 6 versions & 1 rubygems