░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/virtus-2.0.0/spec/shared
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: options_class_method.rb
shared_examples_for 'an options class method' do context 'with no argument' do subject { object.send(method) } it { is_expected.to be(default) } end context 'with a default value' do subject { object.send(method, value) } let(:value) { mock('value') } it { is_expected.to equal(object) } it 'sets the default value for the class method' do expect { subject }.to change { object.send(method) }.from(default).to(value) end end end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 constants_helpers.rb
RB
182 B
2023-09-24 03:48
EDIT
📄 freeze_method_behavior.rb
RB
978 B
2023-09-24 03:48
EDIT
📄 idempotent_method_behaviour.rb
RB
114 B
2023-09-24 03:48
EDIT
📄 options_class_method.rb
RB
476 B
2023-09-24 03:48
EDIT