File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def address_changed?
168168 end
169169
170170 def partials_to_show
171- partner_form_fields . presence || ALL_PARTIALS . map { |partial | partial [ 1 ] }
171+ partner_form_fields . presence || ALL_PARTIALS . map { |partial | partial [ 1 ] }
172172 end
173173
174174 def self . seed_items ( organization = Organization . all )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class Partner < ApplicationRecord
6666 where ( status : status . to_sym )
6767 }
6868
69- ALL_PARTIALS = Organization ::ALL_PARTIALS . map { |partial | partial [ 1 ] } . freeze
69+ ALL_PARTIALS = Organization ::ALL_PARTIALS . map { |partial | partial [ 1 ] } . freeze
7070
7171 # @return [String]
7272 def display_status
Original file line number Diff line number Diff line change 399399 end
400400
401401 context "when there are no partners" do
402- let ( :partners ) { Partner . none }
402+ let ( :partners ) { Partner . none }
403403 it "should have the correct headers and no other rows" do
404404 expect ( subject [ 0 ] ) . to eq ( headers_base + partial_to_headers . values . flatten )
405405 expect ( subject [ 1 ] ) . to eq ( nil )
You can’t perform that action at this time.
0 commit comments