test/skip_test.rb in representable-2.3.0 vs test/skip_test.rb in representable-2.4.0.rc1
- old
+ new
@@ -7,10 +7,10 @@
skip_parse: lambda { |fragment, opts| opts[:skip?] and fragment["name"].nil? }, class: OpenStruct do
property :name
end
collection :airplays,
- skip_parse: lambda { |fragment, opts| puts fragment.inspect; opts[:skip?] and fragment["station"].nil? }, class: OpenStruct do
+ skip_parse: lambda { |fragment, opts| opts[:skip?] and fragment["station"].nil? }, class: OpenStruct do
property :station
end
end
let (:song) { OpenStruct.new.extend(representer) }
\ No newline at end of file