Sha256: 0ace4dcf996f8d304a1130f99f46a799da1ea045c864d6a55b7942810c49deb7

Contents?: true

Size: 483 Bytes

Versions: 11

Compression:

Stored size: 483 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'test_helper')

class <%= input.camel_case %>Test < Test::Unit::TestCase
  include SproutTestCase

  context "A <%= input.camel_case %>" do

    setup do
      @fixture = File.join fixtures, '<%= input.snake_case %>', 'tmp'
      FileUtils.makedirs @fixture
    end

    teardown do
      remove_file @fixture
    end

    should "do something" do
      assert_file @fixture
      assert false, 'Force test failure'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sprout-1.1.5.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.1.4.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.1.3.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.1.2.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.35.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.32.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.31.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.29.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.26.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.25.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb
sprout-1.0.24.pre lib/sprout/generators/ruby/templates/ruby_test_case.rb