Sha256: 0c0200906c70dca8e11c9175e11e5fb883bfa5aa5e7089d57d15451c6676348c
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper.rb' class Test<%= name.camelcase %> < Test::Unit::TestCase def setup @rake = rake_up load File.dirname(__FILE__) + '/../../tasks/<%= name %>.rake' end should "be true" do @rake["<%= name %>"].invoke # Test expected behaviour after rake call assert true end def teardown Rake.application = nil end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
michaelbarton-gigantron-0.1.8 | templates/task/test/tasks/test_task.rb |
sweetsie-0.1.1 | templates/task/test/tasks/test_task.rb |
sweetsie-0.1.0 | templates/task/test/tasks/test_task.rb |