lib/juxtapose/application/lib/spec.rb in motion-juxtapose-0.1.0 vs lib/juxtapose/application/lib/spec.rb in motion-juxtapose-0.1.1

- old
+ new

@@ -19,18 +19,18 @@ def to_json as_json.to_json end def accepted - images.select {|i| i.path =~ /accepted/ }.first + images.select(&:accepted?).first end def current - images.select {|i| i.path =~ /current/ }.first + images.select(&:current?).first end def diff - images.select {|i| i.path =~ /diff/ }.first + images.select(&:diff?).first end def as_json { directory: path,