File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace :erd do
88 RailsERD . options [ option . to_sym ] = case ENV [ option ]
99 when "true" , "yes" then true
1010 when "false" , "no" then false
11- when /,/ then ENV [ option ] . split ( /\s *,\s */ ) . map ( & :to_sym )
11+ when /,/ then ENV [ option ] . split ( /\s *,\s */ )
1212 else ENV [ option ] . to_sym
1313 end
1414 end
Original file line number Diff line number Diff line change @@ -160,6 +160,6 @@ def teardown
160160 test "options task should set known array command line options" do
161161 ENV [ "attributes" ] = "content,timestamps"
162162 Rake ::Task [ "erd:options" ] . execute
163- assert_equal [ : content, : timestamps] , RailsERD . options . attributes
163+ assert_equal %w[ content timestamps ] , RailsERD . options . attributes
164164 end
165165end
You can’t perform that action at this time.
0 commit comments