Module: Plyushkin::Test::Matchers

Defined in:
lib/plyushkin/test/matchers.rb

Instance Method Summary collapse

Instance Method Details

#hoard(attribute) ⇒ Object



11
12
13
# File 'lib/plyushkin/test/matchers.rb', line 11

def hoard(attribute)
  Plyushkin::Test::HoardedAttributeMatcher.new(attribute)
end

#persist_attribute(name) ⇒ Object



7
8
9
# File 'lib/plyushkin/test/matchers.rb', line 7

def persist_attribute(name)
  Plyushkin::Test::PersistedAttributeMatcher.new(name) 
end