spec/particle_builder_spec.rb in conglomerate-0.12.0 vs spec/particle_builder_spec.rb in conglomerate-0.12.1

- old
+ new

@@ -17,10 +17,11 @@ datum :team_ids datum :event_date_time datum :event_date datum :event_time + datum :alternately_named_event_time, :value => Proc.new{ item.event_time } datum :is_available link :event, :href => Proc.new{ event_url(item.event_id) } link :roster, :href => Proc.new{ roster_url(item.roster_id) }, :if => Proc.new{ item.roster_id } @@ -216,10 +217,11 @@ {"name" => "roster_id", "value" => nil}, {"name" => "team_ids", "value" => [1,2]}, {"name" => "event_date_time", "value" => "1981-11-28T10:00:00Z"}, {"name" => "event_date", "value" => "1981-11-28"}, {"name" => "event_time", "value" => "1981-11-28T10:00:00Z"}, + {"name" => "alternately_named_event_time", "value" => "1981-11-28T10:00:00Z"}, {"name" => "is_available", "value" => false} ], "links" => [ {"rel" => "event", "href" => "https://example.com/events/2"}, {"rel" => "teams", "href" => "https://example.com/teams/1,2"}, @@ -254,10 +256,11 @@ {"name" => "roster_id", "value" => nil}, {"name" => "team_ids", "value" => [1,2]}, {"name" => "event_date_time", "value" => "1981-11-28T10:00:00Z"}, {"name" => "event_date", "value" => "1981-11-28"}, {"name" => "event_time", "value" => "1981-11-28T10:00:00Z"}, + {"name" => "alternately_named_event_time", "value" => "1981-11-28T10:00:00Z"}, {"name" => "is_available", "value" => false} ], "links" => [ {"href" => "https://example.com/events/2", "rel" => "event"}, {"href" => "https://example.com/teams/1,2", "rel" => "teams"}, @@ -273,9 +276,10 @@ {"name" => "roster_id", "value" => nil}, {"name" => "team_ids", "value" => [3,4]}, {"name" => "event_date_time", "value" => "1982-01-22T10:00:00Z"}, {"name" => "event_date", "value" => "1981-01-22"}, {"name" => "event_time", "value" => "1981-01-22T10:00:00Z"}, + {"name" => "alternately_named_event_time", "value" => "1981-01-22T10:00:00Z"}, {"name" => "is_available", "value" => true} ], "links" => [ {"href" => "https://example.com/events/3", "rel" => "event"}, {"href" => "https://example.com/teams/3,4", "rel" => "teams"},