Sha256: 154a308ef9a1aa3410070cc50b1dfe081062185e9b5f6b7afe5c19efb6d5c234
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe DirtySeed::Assigners::Boolean do let(:attribute) { build_attribute(type: :boolean) } describe '#value' do it 'returns a Boolean' do 10.times { expect(described_class.new(attribute).value).to be_in([true, false]) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dirty_seed-0.1.8 | spec/lib/dirty_seed/assigners/boolean_spec.rb |