Browse Source

Merge pull request #250 from ziedzaiem/patch-1

fix typo in doc
Rob Winch 9 years ago
parent
commit
0deee65eb6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/manual/src/docs/asciidoc/_includes/test.adoc

+ 2 - 2
docs/manual/src/docs/asciidoc/_includes/test.adoc

@@ -252,7 +252,7 @@ public class WithMockCustomUserSecurityContextFactory
 }
 ----
 
-We can now annotate a test class or a test method with our new annotation and Spring Security's `WithSecurityContextTestExcecutionListener` will ensure that our `SecurityContext` is populated appropriately.
+We can now annotate a test class or a test method with our new annotation and Spring Security's `WithSecurityContextTestExecutionListener` will ensure that our `SecurityContext` is populated appropriately.
 
 When creating your own `WithSecurityContextFactory` implementations, it is nice to know that they can be annotated with standard Spring annotations.
 For example, the `WithUserDetailsSecurityContextFactory` uses the `@Autowired` annotation to acquire the `UserDetailsService`:
@@ -672,4 +672,4 @@ We can also combine the assertions:
 mvc
 	.perform(formLogin().user("admin").roles("USER","ADMIN"))
 	.andExpect(authenticated().withUsername("admin"));
-----
+----