Sha256: c4351acf13b78a8dbde7bac4eb441016548eccfc1c601f07d54ee4f1c81a5fe8
Contents?: true
Size: 459 Bytes
Versions: 19
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' module Finitio describe TypeFactory, "DSL#any" do let(:factory){ TypeFactory.new } context 'without a name' do subject do factory.any end it{ should be_a(AnyType) } end context 'with a name' do subject do factory.any("foo") end it{ should be_a(AnyType) } it 'should have the name' do expect(subject.name).to eq('foo') end end end end
Version data entries
19 entries across 19 versions & 1 rubygems