<commit_before>require "spec_helper"

describe ContainerTopologyController do
  render_views
  before(:each) do
    set_user_privileges
  end

  it "renders index" do
    get :index
    expect(response.status).to eq(302)
    response.should redirect_to(:action => 'show')
  end

  it "renders show screen per provider id" do
    EvmSpecHelper.create_guid_miq_server_zone
    ems = FactoryGirl.create(:ems_kubernetes)
    get :show, :id => ems.id
    expect(response.status).to eq(200)
    expect(response.body).to_not be_empty
    expect(response).should render_template('container_topology/show')
  end

  it "renders show screen for all providers" do
    EvmSpecHelper.create_guid_miq_server_zone
    get :show
    expect(response.status).to eq(200)
    expect(response.body).to_not be_empty
    expect(response).should render_template('container_topology/show')
  end
end
<commit_msg>remove test warnings<commit_after>require "spec_helper"

describe ContainerTopologyController do
  render_views
  before(:each) do
    set_user_privileges
  end

  it "renders index" do
    get :index
    expect(response.status).to eq(302)
    expect(response).to redirect_to(:action => 'show')
  end

  it "renders show screen per provider id" do
    EvmSpecHelper.create_guid_miq_server_zone
    ems = FactoryGirl.create(:ems_kubernetes)
    get :show, :id => ems.id
    expect(response.status).to eq(200)
    expect(response.body).to_not be_empty
    expect(response).to render_template('container_topology/show')
  end

  it "renders show screen for all providers" do
    EvmSpecHelper.create_guid_miq_server_zone
    get :show
    expect(response.status).to eq(200)
    expect(response.body).to_not be_empty
    expect(response).to render_template('container_topology/show')
  end
end

{'fraction_non_alphanumeric': 0.09003939223410241, 'fraction_numerical': 0.010129431626336522, 'mean_word_length': 4.275964391691395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5996430', 'n_tokens_mistral': 591, 'n_tokens_neox': 564, 'n_words': 128}