remove redundant space of co_author sample data
This commit is contained in:
parent
8783b8e5fe
commit
95128a3465
|
@ -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