Sha256: d5aea6bcd9f47009d939d263f80ef0c7074f292d69c79639662d7b0b389b7038
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'bitbucket_rest_api/core_ext/array' describe Array do let(:array) { [:a, :b, :c, :d, { key: :value }] } describe '#extract_options!' do it 'selects a hash from the arguments list' do expect(array.extract_options!).to eq(key: :value) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | spec/bitbucket_rest_api/core_ext/array_spec.rb |