Sha256: dc22eb0889176d40add15d200a5219469198677e49a064961114ed9cf843d867

Contents?: true

Size: 383 Bytes

Versions: 10

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

require "generators/decidim/dummy_generator"

namespace :decidim do
  desc "Generates a dummy app for testing"
  task :generate_test_app do
    dummy_app_path = File.expand_path(File.join(Dir.pwd, "spec", "decidim_dummy_app"))

    Decidim::Generators::DummyGenerator.start(
      [
        "--dummy_app_path=#{dummy_app_path}"
      ]
    )
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
decidim-dev-0.6.5 lib/tasks/test_app.rake
decidim-0.6.5 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.6.4 lib/tasks/test_app.rake
decidim-0.6.4 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.6.3 lib/tasks/test_app.rake
decidim-0.6.3 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.6.2 lib/tasks/test_app.rake
decidim-0.6.2 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.6.1 lib/tasks/test_app.rake
decidim-0.6.1 decidim-dev/lib/tasks/test_app.rake