Sha256: 62f205cd8fcdc3708eec9b37eab52d10595d3145896882881d89102e22d3ca4c
Contents?: true
Size: 497 Bytes
Versions: 18
Compression:
Stored size: 497 Bytes
Contents
shared_examples_for 'Mdm::Module::Detail does not support stance with mtype' do |mtype| context "with #{mtype.inspect}" do # define as a let so that lets from outer context can access option to set detail. let(:mtype) do mtype end it 'should return false for supports_stance?' do expect(detail.supports_stance?).to eq(false) end context 'with nil stance' do let(:stance) do nil end it { is_expected.to be_valid } end end end
Version data entries
18 entries across 18 versions & 1 rubygems