Sha256: 8f8138c9d3fa8ea734499ec04624ad6e0234ad9069d40672d9cbc2354c549ed2
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe BitBucket::API, '#actions' do let(:api) { BitBucket::Repos::Keys } context 'when class' do it 'lists all available actions for an api' do expect(api.actions).to match_array(%i[actions all create delete edit list]) end end context 'when instance' do it 'lists all available actions for an api' do expect(api.new.actions).to match_array(%i[actions all create delete edit list]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | spec/bitbucket_rest_api/api/actions_spec.rb |