{"action":"opened","issue":{"url":"https://api.github.com/repos/bblimke/webmock/issues/484","labels_url":"https://api.github.com/repos/bblimke/webmock/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/bblimke/webmock/issues/484/comments","events_url":"https://api.github.com/repos/bblimke/webmock/issues/484/events","html_url":"https://github.com/bblimke/webmock/issues/484","id":81954351,"number":484,"title":"Allow global stubbing (e.g. before :suite)","user":{"login":"collimarco","id":90962,"avatar_url":"https://avatars.githubusercontent.com/u/90962?v=3","gravatar_id":"","url":"https://api.github.com/users/collimarco","html_url":"https://github.com/collimarco","followers_url":"https://api.github.com/users/collimarco/followers","following_url":"https://api.github.com/users/collimarco/following{/other_user}","gists_url":"https://api.github.com/users/collimarco/gists{/gist_id}","starred_url":"https://api.github.com/users/collimarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collimarco/subscriptions","organizations_url":"https://api.github.com/users/collimarco/orgs","repos_url":"https://api.github.com/users/collimarco/repos","events_url":"https://api.github.com/users/collimarco/events{/privacy}","received_events_url":"https://api.github.com/users/collimarco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-28T14:30:03Z","updated_at":"2015-05-28T14:30:03Z","closed_at":null,"body":"In Rspec this works:\r\n\r\n```\r\nRSpec.configure do |config|\r\n  config.before :each do\r\n     WebMock.stub_request(...)\r\n  end\r\nend\r\n```\r\n\r\nHowever this doesn't work:\r\n```\r\nRSpec.configure do |config|\r\n  config.before :suite do\r\n     WebMock.stub_request(...)\r\n  end\r\nend\r\n```\r\n\r\nI think it would be useful to stub something globally only once in a `before :suite`."}}