From 3fd2aadb2323728e15fe2d49928b4af09447cf0f Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 25 May 2022 12:27:11 +0200 Subject: Various code cleanup (#1782) * Remove duplicate in_chosen_languages definition * Use `DEFAULT_FIELDS_SIZE` instead of `MAX_FIELDS` to reduce code differences with upstream * Remove duplicate annotation * Fix incorrect cross-flavor imports * Remove deprecated `hide_network` setting (replaced by account column) * Remove unused KeywordMutesHelper * Remove trailing spaces * Remove commit_hash from InstancePresenter, as it has been unused since mid-2017 --- spec/helpers/settings/keyword_mutes_helper_spec.rb | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 spec/helpers/settings/keyword_mutes_helper_spec.rb (limited to 'spec/helpers/settings') diff --git a/spec/helpers/settings/keyword_mutes_helper_spec.rb b/spec/helpers/settings/keyword_mutes_helper_spec.rb deleted file mode 100644 index a19d518dd..000000000 --- a/spec/helpers/settings/keyword_mutes_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'rails_helper' - -# Specs in this file have access to a helper object that includes -# the Settings::KeywordMutesHelper. For example: -# -# describe Settings::KeywordMutesHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# expect(helper.concat_strings("this","that")).to eq("this that") -# end -# end -# end -RSpec.describe Settings::KeywordMutesHelper, type: :helper do - pending "add some examples to (or delete) #{__FILE__}" -end -- cgit