Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add stand alone call to test generator

  • Loading branch information...
commit eafd360690b946391036165278b3c3e729db5cc4 1 parent 29f299d
@elskwid elskwid authored
Showing with 18 additions and 0 deletions.
  1. +5 −0 bin/thincloud-testify.rb
  2. +13 −0 lib/thincloud/test/generator.rb
View
5 bin/thincloud-testify.rb
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+
+require "thincloud/test/generator"
+
+Thincloud::Test::Generator.generate
View
13 lib/thincloud/test/generator.rb
@@ -0,0 +1,13 @@
+require "rails/all" # Oh yeah!
+require "rails/generators"
+require "generators/thincloud/test/test_generator"
+
+module Thincloud
+ module Test
+ class Generator
+ def self.generate
+ ::Thincloud::Generators::TestGenerator.new.test
+ end
+ end
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.