Sha256: 02e5e5669fa7d314e265de81a10048b243745777544bfcfbe0cb1b72df9404e8
Contents?: true
Size: 454 Bytes
Versions: 9
Compression:
Stored size: 454 Bytes
Contents
require_relative '../../test_helper' require 'rubocop/git/options' describe RuboCop::Git::Options do it 'fail with no options' do proc do RuboCop::Git::Options.new({}) end.must_raise(RuboCop::Git::Options::Invalid) end it 'can pass string hash options' do RuboCop::Git::Options.new('rubocop' => {}, 'commits' => []) end it 'can pass symbol hash options' do RuboCop::Git::Options.new(rubocop: {}, commits: []) end end
Version data entries
9 entries across 9 versions & 3 rubygems