Sha256: fd4a1b7c2febb8a249644fd8f9ed18ea218e30365dc236bd3429c0c31c7b91e2
Contents?: true
Size: 716 Bytes
Versions: 18
Compression:
Stored size: 716 Bytes
Contents
require "spec_helper" RSpec.describe "Error Reporting" do before :all do drop_dummy_database remove_project_directory create_dummy_project("sentry" => true) end it "adds the Sentry gem to Gemfile" do gemfile_content = IO.read("#{project_path}/Gemfile") expect(gemfile_content).to include("gem 'sentry-raven'") end it "creates the initializer" do initializer_content = IO.read("#{project_path}/config/initializers/sentry.rb") expect(initializer_content).to include("Raven.configure") end it "adds the environment variable to .env.development" do env_content = IO.read("#{project_path}/.env.development") expect(env_content).to include("SENTRY_DSN=") end end
Version data entries
18 entries across 18 versions & 1 rubygems