Sha256: 078d905149969ad8f74e715efb7628abe5167f4cc4a97d6433677cdf01b5c154
Contents?: true
Size: 390 Bytes
Versions: 19
Compression:
Stored size: 390 Bytes
Contents
require 'spec_helper' module Finitio describe Constraint, "named?" do subject{ constraint.named? } context 'with an unnamed constraint' do let(:constraint){ Constraint.new(byte_full) } it{ should eq(false) } end context 'with a named constraint' do let(:constraint){ Constraint.new(byte_full, :byte) } it{ should eq(true) } end end end
Version data entries
19 entries across 19 versions & 1 rubygems