Sha256: b87e74014f8772eb96ec61d8bb9c38aac6c5701dc84aa598d8045040951b0405
Contents?: true
Size: 393 Bytes
Versions: 9
Compression:
Stored size: 393 Bytes
Contents
PageModels::Base.send(:include, RSpec::Matchers) module PageModels module RSpecIntegration attr_accessor :page_model def open_page(page_model) self.page_model = page_model page_model.open! end def should_see_page(page_model) self.page_model = page_model page_model.verify! end end end Object.send(:include, PageModels::RSpecIntegration)
Version data entries
9 entries across 9 versions & 1 rubygems