{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/95","labels_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/95/comments","events_url":"https://api.github.com/repos/spring-projects/spring-restdocs/issues/95/events","html_url":"https://github.com/spring-projects/spring-restdocs/issues/95","id":96535904,"number":95,"title":"Restdocs generation does not obey @ActiveProfiles set on test class","user":{"login":"marceloverdijk","id":197004,"avatar_url":"https://avatars.githubusercontent.com/u/197004?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloverdijk","html_url":"https://github.com/marceloverdijk","followers_url":"https://api.github.com/users/marceloverdijk/followers","following_url":"https://api.github.com/users/marceloverdijk/following{/other_user}","gists_url":"https://api.github.com/users/marceloverdijk/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloverdijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloverdijk/subscriptions","organizations_url":"https://api.github.com/users/marceloverdijk/orgs","repos_url":"https://api.github.com/users/marceloverdijk/repos","events_url":"https://api.github.com/users/marceloverdijk/events{/privacy}","received_events_url":"https://api.github.com/users/marceloverdijk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T10:54:51Z","updated_at":"2015-07-22T12:58:46Z","closed_at":"2015-07-22T12:58:46Z","body":"Could it be that restdocs does not obey to `@ActiveProfiles` set?\r\n\r\n    @RunWith(SpringJUnit4ClassRunner.class)\r\n    @SpringApplicationConfiguration(classes = Application.class)\r\n    @ActiveProfiles(\"docs\")\r\n    @Transactional\r\n    @WebAppConfiguration\r\n    public abstract class AbstractMockMvcDocumentation {\r\n\r\nI've set specific active profile for my documentation tests.\r\nHowever this does not seem to get picked up.\r\nInstead the default profile is used for this tests.\r\n\r\nIn my integration test, which have the same setup this `@ActiveProfile` does work as expected."}}