Sha256: a28257111ede7fea52a552caa647c2a422e7ee8a92b73999e310432e25283d75
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
# -*- encoding: utf-8 -*- require 'helper' describe Octokit::Client::Emojis do before do @client = Octokit::Client.new end describe ".emojis" do it "returns all github emojis" do stub_get("/emojis"). to_return(:body => fixture("v3/emojis.json")) emojis = @client.emojis expect(emojis[:metal]).to eq('https://a248.e.akamai.net/assets.github.com/images/icons/emoji/metal.png?v5') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
octokit-1.18.0 | spec/octokit/client/emojis_spec.rb |
octokit-1.17.1 | spec/octokit/client/emojis_spec.rb |