Sha256: 89280493f62328ff621499c6acef95d1e7b18f4274f9adddb403046a043f0b67
Contents?: true
Size: 301 Bytes
Versions: 9
Compression:
Stored size: 301 Bytes
Contents
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
9 entries across 9 versions & 2 rubygems