diff --git a/spec/scorm_engine/api/endpoints/registrations_spec.rb b/spec/scorm_engine/api/endpoints/registrations_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/scorm_engine/api/endpoints/registrations_spec.rb
+++ b/spec/scorm_engine/api/endpoints/registrations_spec.rb
@@ -126,7 +126,7 @@ RSpec.describe ScormEngine::Api::Endpoints::Registrations do
 
       it "returns activity_details if requested" do
         response = subject.get_registration_progress(registration_id: registration_options[:registration_id], detail: true)
-        expect(response.result.activity_details).to be_a Hash
+        expect(response.result.activity_details).to be_a ScormEngine::Models::RegistrationActivityDetail
       end
     end
   end
fix test now that we have new models