test/test_helper.rb in reform-1.0.0 vs test/test_helper.rb in reform-1.0.1
- old
+ new
@@ -27,13 +27,14 @@
collection :songs do
property :title
end
end
- Song = Struct.new(:title)
- Album = Struct.new(:title, :hit, :songs, :band)
- Band = Struct.new(:label)
- Label = Struct.new(:name)
+ Song = Struct.new(:title, :length)
+ Album = Struct.new(:title, :hit, :songs, :band)
+ Band = Struct.new(:label)
+ Label = Struct.new(:name)
+ Length = Struct.new(:minutes, :seconds)
let (:hit) { Song.new("Roxanne") }
end
\ No newline at end of file