{"action":"created","issue":{"url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/47","repository_url":"https://api.github.com/repos/nevir/rubocop-rspec","labels_url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/47/comments","events_url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/47/events","html_url":"https://github.com/nevir/rubocop-rspec/issues/47","id":100876633,"number":47,"title":"RSpec/DescribeClass should not apply to View specs","user":{"login":"gerry3","id":183249,"avatar_url":"https://avatars.githubusercontent.com/u/183249?v=3","gravatar_id":"","url":"https://api.github.com/users/gerry3","html_url":"https://github.com/gerry3","followers_url":"https://api.github.com/users/gerry3/followers","following_url":"https://api.github.com/users/gerry3/following{/other_user}","gists_url":"https://api.github.com/users/gerry3/gists{/gist_id}","starred_url":"https://api.github.com/users/gerry3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerry3/subscriptions","organizations_url":"https://api.github.com/users/gerry3/orgs","repos_url":"https://api.github.com/users/gerry3/repos","events_url":"https://api.github.com/users/gerry3/events{/privacy}","received_events_url":"https://api.github.com/users/gerry3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nevir/rubocop-rspec/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"nijikon","id":150547,"avatar_url":"https://avatars.githubusercontent.com/u/150547?v=3","gravatar_id":"","url":"https://api.github.com/users/nijikon","html_url":"https://github.com/nijikon","followers_url":"https://api.github.com/users/nijikon/followers","following_url":"https://api.github.com/users/nijikon/following{/other_user}","gists_url":"https://api.github.com/users/nijikon/gists{/gist_id}","starred_url":"https://api.github.com/users/nijikon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijikon/subscriptions","organizations_url":"https://api.github.com/users/nijikon/orgs","repos_url":"https://api.github.com/users/nijikon/repos","events_url":"https://api.github.com/users/nijikon/events{/privacy}","received_events_url":"https://api.github.com/users/nijikon/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-08-13T21:45:57Z","updated_at":"2016-05-08T13:00:45Z","closed_at":null,"body":"Currently, using the standard describe format for [View specs](https://www.relishapp.com/rspec/rspec-rails/v/3-3/docs/view-specs/view-spec):\r\n`RSpec.describe \"widgets/index\" do`\r\nwe get:\r\n`The first argument to describe should be the class or module being tested.`\r\n\r\nI'm disabling it for now:\r\n`RSpec.describe \"widgets/index\" do # rubocop:disable RSpec/DescribeClass`\r\n\r\nBut the `RSpec/DescribeClass` cop should probably ignore View specs."},"comment":{"url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/comments/217716957","html_url":"https://github.com/nevir/rubocop-rspec/issues/47#issuecomment-217716957","issue_url":"https://api.github.com/repos/nevir/rubocop-rspec/issues/47","id":217716957,"user":{"login":"andyw8","id":13400,"avatar_url":"https://avatars.githubusercontent.com/u/13400?v=3","gravatar_id":"","url":"https://api.github.com/users/andyw8","html_url":"https://github.com/andyw8","followers_url":"https://api.github.com/users/andyw8/followers","following_url":"https://api.github.com/users/andyw8/following{/other_user}","gists_url":"https://api.github.com/users/andyw8/gists{/gist_id}","starred_url":"https://api.github.com/users/andyw8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyw8/subscriptions","organizations_url":"https://api.github.com/users/andyw8/orgs","repos_url":"https://api.github.com/users/andyw8/repos","events_url":"https://api.github.com/users/andyw8/events{/privacy}","received_events_url":"https://api.github.com/users/andyw8/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T13:00:45Z","updated_at":"2016-05-08T13:00:45Z","body":"@nijikon: There is a `view` type:\r\n\r\nhttps://www.relishapp.com/rspec/rspec-rails/docs/directory-structure\r\n\r\nIt would be optional if `infer_spec_type_from_file_location!` was set, but the newer versions of rspec-rails seem discourage using that configuration."}}