Sha256: ea9f401566abc94e52ea1076762f11a2d9643ffb87e9b756ebf5522ad0682f45

Contents?: true

Size: 440 Bytes

Versions: 11

Compression:

Stored size: 440 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'helper'

describe Octokit::Client::Emojis do
  before do
    @client = Octokit::Client.new
  end

  describe ".emojis" do
    it "should return all github emojis" do
      stub_get("/emojis").
        to_return(:body => fixture("v3/emojis.json"))
      emojis = @client.emojis
      emojis[:metal].should == 'https://a248.e.akamai.net/assets.github.com/images/icons/emoji/metal.png?v5'
    end
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
octokit-1.17.0 spec/octokit/client/emojis_spec.rb
octokit-1.15.1 spec/octokit/client/emojis_spec.rb
octokit-1.15.0 spec/octokit/client/emojis_spec.rb
octokit-1.14.0 spec/octokit/client/emojis_spec.rb
octokit-1.13.0 spec/octokit/client/emojis_spec.rb
octokit-1.12.0 spec/octokit/client/emojis_spec.rb
octokit-1.11.0 spec/octokit/client/emojis_spec.rb
octokit-1.10.0 spec/octokit/client/emojis_spec.rb
octokit-1.9.4 spec/octokit/client/emojis_spec.rb
octokit-1.9.3 spec/octokit/client/emojis_spec.rb
octokit-1.9.2 spec/octokit/client/emojis_spec.rb