test/skip_test.rb in representable-2.4.1 vs test/skip_test.rb in representable-3.0.0
- old
+ new
@@ -34,10 +34,10 @@
it do
song.from_hash({
"title" => "skip me",
"band" => {},
- "airplays" => [{"station" => "JJJ"}, {}],
+ "airplays" => [{}, {"station" => "JJJ"}, {}],
}, user_options: { skip?: true })
song.title.must_equal nil
song.band.must_equal nil
song.airplays.must_equal [airplay]
\ No newline at end of file