Sha256: e98fe01818fb1620b1d90cb3909b34174aa38560a15b9467ace21eedb21cd63e
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe BitBucket::Repos::Commits do let(:commits) { BitBucket::Repos::Commits.new } describe '.list' do before do expect(commits).to receive(:request).with( :get, '/2.0/repositories/mock_username/mock_repo/commits', {}, {} ) end it 'should send a GET request for the commits belonging to the given repo' do commits.list('mock_username', 'mock_repo') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | spec/bitbucket_rest_api/repos/commits_spec.rb |