Sha256: 81475480a26d6e76e929c2f825664754225396d2c45f0aad1b9d58f886d37c7f
Contents?: true
Size: 566 Bytes
Versions: 11
Compression:
Stored size: 566 Bytes
Contents
require 'helper' describe Octokit::Client::Say do before do Octokit.reset! @client = oauth_client end describe ".say", :vcr do it "returns an ASCII octocat" do text = @client.say expect(text).to match /MMMMMMMMMMMMMMMMMMMMM/ assert_requested :get, github_url("/octocat") end it "returns an ASCII octocat with custom text" do text = @client.say "There is no need to be upset" expect(text).to match /upset/ assert_requested :get, github_url("/octocat?s=There+is+no+need+to+be+upset") end end end
Version data entries
11 entries across 11 versions & 1 rubygems