Sha256: a8710b85daf3a177fe4aaea6de0f9b55f3de7d75356681b7dbb5af299e9d82d4
Contents?: true
Size: 507 Bytes
Versions: 3
Compression:
Stored size: 507 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Github::API, '#actions' do let(:api) { Github::Client::Repos::Contents } context 'when class' do it "lists all available actions for an api" do expect(api.actions).to eq([:archive, :create, :delete, :find, :get, :readme, :update]) end end context 'when instance' do it "lists all available actions for an api" do expect(api.new.actions).to eq([:archive, :create, :delete, :find, :get, :readme, :update]) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_api-0.12.3 | spec/github/api/actions_spec.rb |
github_api-0.12.2 | spec/github/api/actions_spec.rb |
github_api-0.12.1 | spec/github/api/actions_spec.rb |