summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/unit_testing.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/unit_testing.html')
-rw-r--r--user_guide/libraries/unit_testing.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/libraries/unit_testing.html b/user_guide/libraries/unit_testing.html
index aa7475870..9951c824d 100644
--- a/user_guide/libraries/unit_testing.html
+++ b/user_guide/libraries/unit_testing.html
@@ -76,7 +76,7 @@ to determine if it is producing the correct data type and result.
<p>Like most other classes in Code Igniter, the Unit Test class is initialized in your controller using the <dfn>$this->load->library</dfn> function:</p>
-<code>$this->load->library('unit');</code>
+<code>$this->load->library('unit_test');</code>
<p>Once loaded, the Unit Test object will be available using: <dfn>$this->unit</dfn></p>
<p>You can also set your own class variable name. Please see the <a href="loader.html">Loader Class</a> for more info.</p>