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.
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.