Class: ScraperWiki::API::Matchers::HaveValuesWithAtLeastTheKeys
Instance Method Summary
collapse
Instance Method Details
#difference(v) ⇒ Object
782
783
784
|
# File 'lib/scraperwiki-api/matchers.rb', line 782
def difference(v)
@expected - v.keys
end
|
#negative_predicate ⇒ Object
790
791
792
|
# File 'lib/scraperwiki-api/matchers.rb', line 790
def negative_predicate
"aren't missing keys"
end
|
#predicate ⇒ Object
786
787
788
|
# File 'lib/scraperwiki-api/matchers.rb', line 786
def predicate
'are missing keys'
end
|