Merge remote-tracking branch 'origin/timeline' into upgrade/rails-5

Conflicts:
	app/views/gardens/show.html.haml
	spec/controllers/photo_associations_controller_spec.rb
This commit is contained in:
Brenda Wallace
2018-01-11 16:10:36 +13:00
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ class CsvImporter
def cropbot
@cropbot = Member.find_by!(login_name: 'cropbot') unless @cropbot
@cropbot
rescue
rescue StandardError
raise "cropbot account not found: run rake db:seed"
end
end

View File

@@ -65,7 +65,7 @@ def load_test_users # rubocop:disable Metrics/AbcSize
source_path = Rails.root.join('db', 'seeds')
begin
suburb_file = File.open("#{source_path}/suburbs.csv")
rescue
rescue StandardError
puts "Warning: unable to open suburbs.csv"
end