remove redundant space of co_author sample data
This commit is contained in:
parent
385e043809
commit
78abcac1cb
|
@ -27,7 +27,7 @@ FactoryGirl.define do
|
|||
end
|
||||
|
||||
f.sequence(:author_tokens) do |n|
|
||||
"#{data_json[n]["author"].map{|m| m.split(",").reverse.join(" ")}.join(",")}"
|
||||
"#{data_json[n]["author"].map{|m| m.split(",").reverse.map(&:strip).join(" ")}.join(",")}"
|
||||
end
|
||||
|
||||
#f.sequence(:form_to_start) do |n|
|
||||
|
|
|
@ -31,7 +31,7 @@ FactoryGirl.define do
|
|||
end
|
||||
|
||||
f.sequence(:author_tokens) do |n|
|
||||
"#{data_json[n]["author"].map{|m| m.split(",").reverse.join(" ")}.join(",")}"
|
||||
"#{data_json[n]["author"].map{|m| m.split(",").reverse.map(&:strip).join(" ")}.join(",")}"
|
||||
end
|
||||
|
||||
f.sequence(:form_to_start) do |n|
|
||||
|
|
Loading…
Reference in New Issue