Sha256: 485e260fb6a514738d5ce456e4b7611532254a0ca992844e4664c00e9d73da1a

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

require "rails/generators/active_record"

module SelfSysteem
  module Generators
    class TestGenerator < Rails::Generators::Base

      source_root File.expand_path("../templates", __FILE__)

      def add_test_and_support
        copy_file "systeem_config.rb", SelfSysteem.test_dir + "/system/support/systeem_config.rb"
        copy_file "systeem_" + SelfSysteem.test_framework + ".rb", SelfSysteem.test_dir + "/system/systeem_" + SelfSysteem.test_dir + ".rb"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 lib/generators/self_systeem/test_generator.rb