class Person
include Mongoid::Document
field :address, :type => Hash
end
Given a person exist with address: {:city => "city", :street => "street"}
Shows an undefined step as:
Given /^a person exists with address: \{:city => "([^"]*)", :street => "([^"]*)"\}$/ do |arg1, arg2|
pending
end
How can I make it a standard maturation step?
source
share