title: NameError: uninitialized constant on RSpec
body: <p>I have the following in my UserTrainingController</p>
  
  <pre><code>  def create
     @user_training_resource = UserTrainingResource::Create.call(user_training_resource_params)
     respond_with(@user_training_resource)
   end
  </code></pre>
  
  <p>Then in Operations > Training Resource > Create</p>
  
  <pre><code>class UserTrainingResource
   class Create &lt; Operation
  
     def call(params)
       user_training_resource = UserTrainingResource.new(params)
       ResourceMailer.requested(user_training_resource).deliver_later if user_training_resource.save
       user_training_resource
     end
  
   end
  end
  </code></pre>
  
  <p>Then in my test I have</p>
  
  <pre><code> require 'rails_helper'
  
   RSpec.describe UserTrainingResource::Create do
  
    let(:params) { attributes_for(:user_training_resource) }
  
    describe '#call' do
      it 'saves the request as pending' do
        ut = UserTrainingResource::Create.call(params)
        expect(ut.persisted?).to eq(true)
      end
  
      it 'queues a mailer' do
        expect(ResourceMailer).to send_mail(:requested)
        UserTrainingResource::Create.call(params)
      end
    end
  
  end
  </code></pre>
  
  <p>The test gives me </p>
  
  <blockquote>
    <p>NameError: uninitialized constant UserTrainingResource::Create</p>
  </blockquote>
  
  <p>I've no idea what the issue is. Is it not hitting my operations correctly?</p>