Apply IndentationWidth rubocop rule
This commit is contained in:
@@ -16,7 +16,7 @@ shared_examples "nested imageable" do |imageable_factory_name, path,
|
||||
Setting["feature.allow_images"] = true
|
||||
|
||||
imageable_path_arguments&.each do |argument_name, path_to_value|
|
||||
arguments.merge!("#{argument_name}": imageable.send(path_to_value))
|
||||
arguments.merge!("#{argument_name}": imageable.send(path_to_value))
|
||||
end
|
||||
|
||||
imageable.update(author: user) if imageable.respond_to?(:author)
|
||||
@@ -176,7 +176,7 @@ shared_examples "nested imageable" do |imageable_factory_name, path,
|
||||
|
||||
scenario "Should show successful notice when resource filled correctly without any nested images", :js do
|
||||
if has_many_images
|
||||
skip "no need to test, there are no attributes for the parent resource"
|
||||
skip "no need to test, there are no attributes for the parent resource"
|
||||
else
|
||||
login_as user
|
||||
visit send(path, arguments)
|
||||
|
||||
Reference in New Issue
Block a user