Sha256: 2cf14ab1496b3810cdd3f99db1303df3c50e0f46d07b6be5d19d1df3c3c47eae

Contents?: true

Size: 491 Bytes

Versions: 6

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

require "letter_opener_web"
require "decidim/dev/railtie"

module Decidim
  # Decidim::Dev holds all the convenience logic and libraries to be able to
  # create external libraries that create test apps and test themselves against
  # them.
  module Dev
    # Public: Finds an asset.
    #
    # Returns a String with the path for a particular asset.
    def self.asset(name)
      File.expand_path(File.join(__dir__, "dev", "assets", name))
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
decidim-dev-0.3.2 lib/decidim/dev.rb
decidim-0.3.2 decidim-dev/lib/decidim/dev.rb
decidim-dev-0.3.1 lib/decidim/dev.rb
decidim-0.3.1 decidim-dev/lib/decidim/dev.rb
decidim-dev-0.3.0 lib/decidim/dev.rb
decidim-0.3.0 decidim-dev/lib/decidim/dev.rb