{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/35","labels_url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/35/comments","events_url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/35/events","html_url":"https://github.com/test-kitchen/busser-serverspec/issues/35","id":111645254,"number":35,"title":"Unable to override rspec_opts","user":{"login":"nicholaskey-okta","id":13141405,"avatar_url":"https://avatars.githubusercontent.com/u/13141405?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholaskey-okta","html_url":"https://github.com/nicholaskey-okta","followers_url":"https://api.github.com/users/nicholaskey-okta/followers","following_url":"https://api.github.com/users/nicholaskey-okta/following{/other_user}","gists_url":"https://api.github.com/users/nicholaskey-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholaskey-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholaskey-okta/subscriptions","organizations_url":"https://api.github.com/users/nicholaskey-okta/orgs","repos_url":"https://api.github.com/users/nicholaskey-okta/repos","events_url":"https://api.github.com/users/nicholaskey-okta/events{/privacy}","received_events_url":"https://api.github.com/users/nicholaskey-okta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/test-kitchen/busser-serverspec/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T15:39:55Z","updated_at":"2015-11-14T15:48:55Z","closed_at":null,"body":"It seems that there's way to override rspec_opts. By default it is running with \"--color\" and \"--format documentation\".\r\n\r\nIs there a way to disable color and execute in format json and documentation?\r\n\r\nI've tried adding a .rspec file in the test directory but Test Kitchen doesn't pick that up. I've also tried to move the .rspec file into suite/serverspec directory and still the busser is running with --color and --format documentation.\r\n\r\nAny ideas how to disable the color and format it in json and documentation?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/comments/156713396","html_url":"https://github.com/test-kitchen/busser-serverspec/issues/35#issuecomment-156713396","issue_url":"https://api.github.com/repos/test-kitchen/busser-serverspec/issues/35","id":156713396,"user":{"login":"xmik","id":8240219,"avatar_url":"https://avatars.githubusercontent.com/u/8240219?v=3","gravatar_id":"","url":"https://api.github.com/users/xmik","html_url":"https://github.com/xmik","followers_url":"https://api.github.com/users/xmik/followers","following_url":"https://api.github.com/users/xmik/following{/other_user}","gists_url":"https://api.github.com/users/xmik/gists{/gist_id}","starred_url":"https://api.github.com/users/xmik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmik/subscriptions","organizations_url":"https://api.github.com/users/xmik/orgs","repos_url":"https://api.github.com/users/xmik/repos","events_url":"https://api.github.com/users/xmik/events{/privacy}","received_events_url":"https://api.github.com/users/xmik/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T15:48:55Z","updated_at":"2015-11-14T15:48:55Z","body":"You can do it in `test/integration/default/serverspec/spec_helper.rb`\r\n```ruby\r\nRSpec.configure do |c|\r\n  c.color = false\r\n  # and so on\r\nend\r\n```"}}