Fix hound warnings
This commit is contained in:
@@ -137,7 +137,7 @@ shared_examples "nested documentable" do |login_as_name, documentable_factory_na
|
||||
visit send(path, arguments)
|
||||
|
||||
documentable_attach_new_file(
|
||||
Rails.root.join("spec/fixtures/files/logo_header.png"),
|
||||
Rails.root.join("spec/fixtures/files/logo_header.gif"),
|
||||
false
|
||||
)
|
||||
|
||||
@@ -158,7 +158,7 @@ shared_examples "nested documentable" do |login_as_name, documentable_factory_na
|
||||
visit send(path, arguments)
|
||||
|
||||
documentable_attach_new_file(
|
||||
Rails.root.join("spec/fixtures/files/logo_header.png"),
|
||||
Rails.root.join("spec/fixtures/files/logo_header.gif"),
|
||||
false
|
||||
)
|
||||
|
||||
@@ -239,7 +239,7 @@ shared_examples "nested documentable" do |login_as_name, documentable_factory_na
|
||||
end
|
||||
login_as user_to_login
|
||||
visit send(path, arguments)
|
||||
FILENAMES ||= %w(clippy empty logo).freeze
|
||||
FILENAMES ||= %w[clippy empty logo].freeze
|
||||
|
||||
send(fill_resource_method_name) if fill_resource_method_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user