Sha256: eafed925e8dd96210337bc556a56eb73990708afec26b2a1eaee84b0ee00c2d9

Contents?: true

Size: 433 Bytes

Versions: 7

Compression:

Stored size: 433 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(json_response("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

7 entries across 7 versions & 1 rubygems

Version Path
octokit-1.25.0 spec/octokit/client/emojis_spec.rb
octokit-1.24.0 spec/octokit/client/emojis_spec.rb
octokit-1.23.0 spec/octokit/client/emojis_spec.rb
octokit-1.22.0 spec/octokit/client/emojis_spec.rb
octokit-1.21.0 spec/octokit/client/emojis_spec.rb
octokit-1.20.0 spec/octokit/client/emojis_spec.rb
octokit-1.19.0 spec/octokit/client/emojis_spec.rb