Sha256: 149bb36f4a5605d5a545787ce4c9ab952392868c3f822f58c18181d41b3e0ef4

Contents?: true

Size: 159 Bytes

Versions: 2

Compression:

Stored size: 159 Bytes

Contents

Then /^the field (\w+) of the document '(\w+)' is not nil$/ do |field, name|
  doc = instance_variable_get("@#{name}")
  doc.send(field).should_not be_nil
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo_doc-0.6.5 features/step_definitions/field_steps.rb
mongo_doc-0.6.4 features/step_definitions/field_steps.rb