Fix hound warnings
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
require 'rails_helper'
|
require "rails_helper"
|
||||||
|
|
||||||
feature 'Cards' do
|
feature "Cards" do
|
||||||
|
|
||||||
background do
|
background do
|
||||||
admin = create(:administrator).user
|
admin = create(:administrator).user
|
||||||
@@ -232,8 +232,8 @@ feature 'Cards' do
|
|||||||
image_input = all(".image").last.find("input[type=file]", visible: false)
|
image_input = all(".image").last.find("input[type=file]", visible: false)
|
||||||
attach_file(
|
attach_file(
|
||||||
image_input[:id],
|
image_input[:id],
|
||||||
Rails.root.join('spec/fixtures/files/clippy.jpg'),
|
Rails.root.join("spec/fixtures/files/clippy.jpg"),
|
||||||
make_visible: true)
|
make_visible: true)
|
||||||
expect(page).to have_field('widget_card_image_attributes_title', with: "clippy.jpg")
|
expect(page).to have_field("widget_card_image_attributes_title", with: "clippy.jpg")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user