diff --git a/spec/aggregator_cfgs_and_properties_spec.rb b/spec/aggregator_cfgs_and_properties_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/aggregator_cfgs_and_properties_spec.rb
+++ b/spec/aggregator_cfgs_and_properties_spec.rb
@@ -333,7 +333,7 @@ describe JsDuck::Aggregator do
         /**
          * Some documentation.
          */
-        Ext.createAlias(class, "foo", "bar");
+        Ext.createAlias(MyClass, "foo", "bar");
       EOS
     end
     it "should fail detecting name of the property" do
Remove use of reserved word from cfgs/props spec.