Refactoring typecast so that it is less invasive and uses latest code base
This commit is contained in:
parent
88f42d8fe0
commit
d992f44365
6 changed files with 222 additions and 247 deletions
|
@ -156,7 +156,7 @@ describe "ExtendedDocument properties" do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
describe "casting" do
|
||||
before(:each) do
|
||||
@course = Course.new(:title => 'Relaxation')
|
||||
|
@ -625,4 +625,4 @@ describe "a casted model retrieved from the database" do
|
|||
@cat.toys[1].casted_by.should === @cat
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue