Sha256: 7c1285b72d5a3f4121e5f6ba625e3e9e45f46e0f56856a87342bb8263e7825de

Contents?: true

Size: 652 Bytes

Versions: 27

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

require "decidim/dev"

ENV["RAILS_ENV"] ||= "test"

root_path = File.expand_path("..", Dir.pwd)
engine_spec_dir = File.join(Dir.pwd, "spec")

if ENV["SIMPLECOV"]
  require "simplecov/no_defaults"

  SimpleCov.root(root_path)
  require "simplecov/defaults"

  SimpleCov.command_name File.basename(Dir.pwd)
end

require "rails"
require "active_support/core_ext/string"
require "decidim/core"
require "decidim/core/test"

require_relative "rspec_support/feature.rb"

require "#{Decidim::Dev.dummy_app_path}/config/environment"

Dir["#{engine_spec_dir}/shared/**/*.rb"].each { |f| require f }

require_relative "spec_helper"

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
decidim-dev-0.7.4 lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.7.3 lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.7.2 lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.7.1 lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.7.0 lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.8 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.8 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.7 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.7 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.6 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.6 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.5 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.5 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.4 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.4 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.3 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.3 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.2 lib/decidim/dev/test/base_spec_helper.rb
decidim-0.6.2 decidim-dev/lib/decidim/dev/test/base_spec_helper.rb
decidim-dev-0.6.1 lib/decidim/dev/test/base_spec_helper.rb