Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
test/integration/report_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class ReportTest < ActionDispatch::IntegrationTest
|
||
|
||
def setup
|
||
@report = FactoryGirl.create(:report, :old_report)
|
||
end
|
||
... | ... | |
visit report_path(@report)
|
||
assert page.has_selector?('h1', :text => @report.host.fqdn), "hostname was expected in the <h1> tag, but was not found"
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines