Sha256: 0b8821bcca197863a0119b3ee17491fbbc71df30dc99960362b2559f75306329
Contents?: true
Size: 478 Bytes
Versions: 9
Compression:
Stored size: 478 Bytes
Contents
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([: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([:actions, :all, :create, :delete, :edit, :list]) end end end
Version data entries
9 entries across 9 versions & 2 rubygems