kshil
unread,Nov 30, 2010, 6:23:27 AM11/30/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pickle
class Person
include Mongoid::Document
field :address, :type => Hash
end
Given a person exist with address: {:city => "city", :street =>
"street"}
Shows undefined step as:
Given /^a person exists with address: \{:city => "([^"]*)", :street =>
"([^"]*)"\}$/ do |arg1, arg2|
pending # express the regexp above with the code you wish you had
end
How can I make it standard pickle step?