{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman-infra/issues/243","repository_url":"https://api.github.com/repos/theforeman/foreman-infra","labels_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/243/comments","events_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/243/events","html_url":"https://github.com/theforeman/foreman-infra/pull/243","id":182221049,"number":243,"title":"Migrate test db while testing plugins","user":{"login":"adamruzicka","id":7326770,"avatar_url":"https://avatars.githubusercontent.com/u/7326770?v=3","gravatar_id":"","url":"https://api.github.com/users/adamruzicka","html_url":"https://github.com/adamruzicka","followers_url":"https://api.github.com/users/adamruzicka/followers","following_url":"https://api.github.com/users/adamruzicka/following{/other_user}","gists_url":"https://api.github.com/users/adamruzicka/gists{/gist_id}","starred_url":"https://api.github.com/users/adamruzicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamruzicka/subscriptions","organizations_url":"https://api.github.com/users/adamruzicka/orgs","repos_url":"https://api.github.com/users/adamruzicka/repos","events_url":"https://api.github.com/users/adamruzicka/events{/privacy}","received_events_url":"https://api.github.com/users/adamruzicka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-11T09:48:56Z","updated_at":"2016-10-12T13:22:35Z","closed_at":"2016-10-12T13:22:35Z","pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/243","html_url":"https://github.com/theforeman/foreman-infra/pull/243","diff_url":"https://github.com/theforeman/foreman-infra/pull/243.diff","patch_url":"https://github.com/theforeman/foreman-infra/pull/243.patch"},"body":"By default rake db:create creates databases for development and test\r\nenvironments and rake db:migrate migrates the development database. When\r\nwe run tests the test environment is used by default and thanks to\r\n\r\n`config.active_record.maintain_test_schema = true`\r\n\r\nthe test db gets migrated automatically. However this somehow doesn't\r\nsatisfy the access permissions tests for plugins which fail. Running the\r\ntests against an already migrated database solves the issue."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman-infra/issues/comments/253211705","html_url":"https://github.com/theforeman/foreman-infra/pull/243#issuecomment-253211705","issue_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/243","id":253211705,"user":{"login":"adamruzicka","id":7326770,"avatar_url":"https://avatars.githubusercontent.com/u/7326770?v=3","gravatar_id":"","url":"https://api.github.com/users/adamruzicka","html_url":"https://github.com/adamruzicka","followers_url":"https://api.github.com/users/adamruzicka/followers","following_url":"https://api.github.com/users/adamruzicka/following{/other_user}","gists_url":"https://api.github.com/users/adamruzicka/gists{/gist_id}","starred_url":"https://api.github.com/users/adamruzicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamruzicka/subscriptions","organizations_url":"https://api.github.com/users/adamruzicka/orgs","repos_url":"https://api.github.com/users/adamruzicka/repos","events_url":"https://api.github.com/users/adamruzicka/events{/privacy}","received_events_url":"https://api.github.com/users/adamruzicka/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T13:22:35Z","updated_at":"2016-10-12T13:22:35Z","body":"Closing in favor of https://github.com/theforeman/foreman/pull/3933"}}
{"actor":{"display_login":"adamruzicka"}}