Module: SPV::Mixins::Page::InstanceMethods

Defined in:
lib/site_prism_vcr/mixins/page.rb

Instance Method Summary collapse

Instance Method Details

#load_and_apply_vcr(*args, &block) ⇒ Object



37
38
39
# File 'lib/site_prism_vcr/mixins/page.rb', line 37

def load_and_apply_vcr(*args, &block)
  shift_event { load(*args) }.apply_vcr(&block)
end

#shift_event(&block) ⇒ Object



41
42
43
# File 'lib/site_prism_vcr/mixins/page.rb', line 41

def shift_event(&block)
  vcr_applier.shift_event(&block)
end