{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/763","labels_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/763/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/763/comments","events_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/763/events","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/763","id":97117201,"number":763,"title":"Uninitialized constant ActiveSupport::TestCase","user":{"login":"ybur-yug","id":4298745,"avatar_url":"https://avatars.githubusercontent.com/u/4298745?v=3","gravatar_id":"","url":"https://api.github.com/users/ybur-yug","html_url":"https://github.com/ybur-yug","followers_url":"https://api.github.com/users/ybur-yug/followers","following_url":"https://api.github.com/users/ybur-yug/following{/other_user}","gists_url":"https://api.github.com/users/ybur-yug/gists{/gist_id}","starred_url":"https://api.github.com/users/ybur-yug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybur-yug/subscriptions","organizations_url":"https://api.github.com/users/ybur-yug/orgs","repos_url":"https://api.github.com/users/ybur-yug/repos","events_url":"https://api.github.com/users/ybur-yug/events{/privacy}","received_events_url":"https://api.github.com/users/ybur-yug/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-24T18:58:44Z","updated_at":"2015-10-07T19:00:02Z","closed_at":"2015-07-26T04:24:51Z","body":"When configuring shoulda-matchers in a small project I have, I have been unable to get things running at all. I am pointing to `3.0.0.rc1`.\r\n\r\nThis is my configuration:\r\n\r\n\r\n\r\n```ruby\r\n...\r\nrequire 'shoulda/matchers'\r\n\r\nShoulda::Matchers.configure do |config|\r\n  config.integrate do |with|\r\n    with.test_framework :rspec\r\n    with.library :rails\r\n  end\r\nend\r\n...\r\n```\r\n\r\nIt is a typical rails project, and this is included in `spec/rails_helper.rb`.\r\n\r\nWhen guard runs (or if I run manually its identical) my specs I get:\r\n\r\n```\r\n...\r\n[gems path]/shoulda-matchers-a3fb06c369c2/lib/shoulda/matchers/integrations/libraries\r\n/rails.rb:19:in `integrate_with': uninitialized constant ActiveSupport::TestCase (NameError)\r\n```\r\n(broke the lines and shortened path for readability)\r\n\r\nI know its a release candidate but couldn't find another issue. For reference, I am on rails 4.2.3 and rspec 3.3.2. I can gladly provide any other information you would want or need.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/comments/146294264","html_url":"https://github.com/thoughtbot/shoulda-matchers/issues/763#issuecomment-146294264","issue_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/763","id":146294264,"user":{"login":"mcmire","id":7371,"avatar_url":"https://avatars.githubusercontent.com/u/7371?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmire","html_url":"https://github.com/mcmire","followers_url":"https://api.github.com/users/mcmire/followers","following_url":"https://api.github.com/users/mcmire/following{/other_user}","gists_url":"https://api.github.com/users/mcmire/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmire/subscriptions","organizations_url":"https://api.github.com/users/mcmire/orgs","repos_url":"https://api.github.com/users/mcmire/repos","events_url":"https://api.github.com/users/mcmire/events{/privacy}","received_events_url":"https://api.github.com/users/mcmire/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T19:00:02Z","updated_at":"2015-10-07T19:00:02Z","body":"Yup! shoulda-matchers makes the assumption you've already required ActiveRecord. It doesn't make that require on its own anymore.\r\n\r\nThat would be a good error message to have."}}