{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/material/issues/8504","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/8504/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/8504/comments","events_url":"https://api.github.com/repos/angular/material/issues/8504/events","html_url":"https://github.com/angular/material/issues/8504","id":155731106,"number":8504,"title":"subheader: tests for subheader are useless.","user":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/has:%20Pull%20Request","name":"has: Pull Request","color":"0e8a16"},{"url":"https://api.github.com/repos/angular/material/labels/P2%20-%20Planned%20Work%20/%20Team%20PRs","name":"P2 - Planned Work / Team PRs","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-05-19T13:02:21Z","updated_at":"2016-05-19T19:59:46Z","closed_at":"2016-05-19T19:59:46Z","body":"Currently the subheader tests are completely meaningless and useless. \r\n\r\nThere are several issues:\r\n- We're *not* injecting our `material.components.subheader` module\r\n- We're mocking the complete `$mdSticky` service.\r\n\r\nSo at the moment we're testing things like `ng-if` with the `$mdSticky` mock and without our actual directive, because it can't be loaded. \r\n> This is actually a test, which just tests the standard AngularJS directive.\r\n\r\nI'm working on some improvements on those tests."}}