spec/utility/middleware/restrict_hostnames_spec.rb [85:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    end

    context 'localhost domain' do
      let(:env) { localhost_url }
      it_behaves_like 'an allowed call'
    end

    context 'external domain' do
      let(:env) { external_url }
      it_behaves_like 'a blocked call'
    end
  end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/utility/middleware/restrict_hostnames_spec.rb [109:120]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    end

    context 'localhost domain' do
      let(:env) { localhost_url }
      it_behaves_like 'an allowed call'
    end

    context 'external domain' do
      let(:env) { external_url }
      it_behaves_like 'a blocked call'
    end
  end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



