Sha256: c0260cd13d6e0d6c4aad4636589d78148e661210b7ff54eef2808d2ff54d47b5
Contents?: true
Size: 570 Bytes
Versions: 4
Compression:
Stored size: 570 Bytes
Contents
require 'spec_helper' describe Object do describe '.default_value' do subject { DefaultValue.new } it 'accepts default value' do expect(subject.x).to eq(10) end it do expect(Object).not_to respond_to(:default_value) end end describe '.default_values' do subject { DefaultValue.new } it 'accepts default values' do expect(subject.y).to eq(20) end it 'accepts default values' do expect(subject.z).to eq(20) end it do expect(Object).not_to respond_to(:default_values) end end end
Version data entries
4 entries across 4 versions & 1 rubygems