Revision 184f8d5c
Added by Ron Lavi over 5 years ago
test/integration/organization_test.rb | ||
---|---|---|
FactoryBot.create(:host, :organization => nil)
|
||
end
|
||
|
||
test "index page" do
|
||
assert_index_page(organizations_path, "Organizations", "New Organization")
|
||
end
|
||
|
||
# context - has nil hosts
|
||
test "index page has notice if nil hosts" do
|
||
Host.update_all(:organization_id => nil)
|
Also available in: Unified diff
Fixes #24040 - Move the search box to React