diff --git a/spec/provisioning/spec/localhost/dependencies_step_spec.rb b/spec/provisioning/spec/localhost/dependencies_step_spec.rb
index 22dff15..490595d 100644
--- a/spec/provisioning/spec/localhost/dependencies_step_spec.rb
+++ b/spec/provisioning/spec/localhost/dependencies_step_spec.rb
@@ -16,7 +16,7 @@
 
       expect(config_hcl).to match(/name = "#{git_name}"/)
       expect(config_hcl).to match(/email = "#{git_email}"/)
-      expect(config_hcl).to match(/github = "#{ENV["MSTRAP_USER_GITHUB"]}"/)
+      expect(config_hcl).to match(/github = "#{git_github}"/)
     end
   end