Sha256: 7da97ea001adf4072e79c3c08d42d92aa3c4fff13cf3835833bb67a275227179
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
require File.dirname(__FILE__) + '/test_helper' require 'rake' class TasksTest < Test::Unit::TestCase include Rake context 'instantiating Jeweler::Tasks' do setup do Task.clear @jt = Jeweler::Tasks.new do |s| end end should 'assign @gemspec' do assert_not_nil @jt.gemspec end should 'assign @jeweler' do assert_not_nil @jt.jeweler end should 'define tasks' do assert Task.task_defined?(:build) assert Task.task_defined?(:install) assert Task.task_defined?(:gemspec) assert Task.task_defined?(:'gemspec:validate') assert Task.task_defined?(:'gemspec:generate') assert Task.task_defined?(:version) assert Task.task_defined?(:'version:write') assert Task.task_defined?(:'version:display') assert Task.task_defined?(:'version:bump:major') assert Task.task_defined?(:'version:bump:minor') assert Task.task_defined?(:'version:bump:patch') assert Task.task_defined?(:'release') end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
namelessjon-jeweler-0.6.5 | test/tasks_test.rb |
technicalpickles-jeweler-0.6.4 | test/tasks_test.rb |
technicalpickles-jeweler-0.6.5 | test/tasks_test.rb |