Duplicating an instance which is a duplicate of another

Hi,

Following is the code,

shared_context “of cloning” do

let(:cloned_record) {donor.dup}

it “returns record that could be successfully saved” do
cloned_record.save.should be_true
end
end

The line is bold/red is the one which is I have doubt about.
When I try to use clone_of_cloned.name in any other function, it doesn’t
responds. The code gets stuck there.

On Jul 17, 2013, at 5:40 AM, Sumit S.
[email protected] wrote:

it “returns new record” do
end

The line is bold/red is the one which is I have doubt about.
When I try to use clone_of_cloned.name in any other function, it doesn’t
responds. The code gets stuck there.

What exactly is the behavior “gets stuck” ? And what do you mean by “It
doesn’t responds” ?Please include output and error messages.