require "spec_helper" describe ApplicationController do controller do def index render nothing: true end end it "includes all well statuses with every response" do get :index assigns(:license_statuses).should =~ LicenseStatus::ALL end it "includes all well types with every response" do get :index assigns(:well_types).should =~ WellType::ALL end end