module NoBrainer::Matchers
Public Instance Methods
be_nobrainer_document()
click to toggle source
# File lib/matchers/be_nobrainer_document.rb, line 5 def be_nobrainer_document BeNoBrainerDocument.new end
have_field(*args)
click to toggle source
# File lib/matchers/have_field.rb, line 493 def have_field(*args) HaveField.new(*args) end
Also aliased as: have_fields
have_index_for(*args)
click to toggle source
# File lib/matchers/have_index_for.rb, line 160 def have_index_for(*args) HaveIndexFor.new(*args) end
have_timestamps()
click to toggle source
# File lib/matchers/have_timestamps.rb, line 5 def have_timestamps HaveTimestamps.new end