summaryrefslogtreecommitdiff
path: root/spec/controllers/application_controller_spec.rb
blob: a26c465c40fa06c097377956af78999a4b551d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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