Browse files

Add stand alone call to test generator

  • Loading branch information...
1 parent 29f299d commit eafd360690b946391036165278b3c3e729db5cc4 @elskwid elskwid committed Jan 26, 2013
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

0 comments on commit eafd360

Please sign in to comment.