Sha256: 1447cf629883da9c9e89a6a8b527b98c11fad30ba82599c08c0e3769a5ff10c6

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

require "spec_helper"
require_relative "../../lib/dribbble_bucket_api/bucket"

describe DribbbleBucketApi::Bucket do
	let(:username) { "ryantownsend" }
	let(:id) { 44001 }

	subject do
		DribbbleBucketApi::Bucket.new({
			username: username,
			id: id
		})
	end

	describe "#shots" do
		it "should return a ShotCollection instance" do
			expect(subject.shots).to be_kind_of DribbbleBucketApi::ShotCollection
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dribbble-bucket-api-0.0.6 spec/dribbble_bucket_api/bucket_spec.rb
dribbble-bucket-api-0.0.5 spec/dribbble_bucket_api/bucket_spec.rb
dribbble-bucket-api-0.0.4 spec/dribbble_bucket_api/bucket_spec.rb
dribbble-bucket-api-0.0.3 spec/dribbble_bucket_api/bucket_spec.rb
dribbble-bucket-api-0.0.2 spec/dribbble_bucket_api/bucket_spec.rb
dribbble-bucket-api-0.0.1 spec/dribbble_bucket_api/bucket_spec.rb