Sha256: 0fb8b170346080a95a9ceb7feb38da7d7a9ff91ffb83b8c8254525d24253070e
Contents?: true
Size: 610 Bytes
Versions: 4
Compression:
Stored size: 610 Bytes
Contents
# -*- encoding : utf-8 -*- require 'unit/spec_helper' require 'ashikawa-core/key_options' describe Ashikawa::Core::KeyOptions do let(:type) { :autoincrement } let(:offset) { 12 } let(:increment) { 2 } let(:allow_user_keys) { double('Boolean') } subject do Ashikawa::Core::KeyOptions.new( 'type' => type, 'offset' => offset, 'increment' => increment, 'allowUserKeys' => allow_user_keys ) end its(:type) { should eq(type) } its(:offset) { should eq(offset) } its(:increment) { should eq(increment) } its(:allow_user_keys) { should eq(allow_user_keys) } end
Version data entries
4 entries across 4 versions & 1 rubygems