Sha256: 6865c8cf7bce9ab7a3a7f16eb922440436c40b138b1ce76237cfbd5f099b40eb

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

require "test/helper"
require 'lib/test_belt/rake_tasks'

module TestBelt
  class RakeTasksTest < Test::Unit::TestCase
    include TestBelt

    context "TestBelt Rake Tasks"
    subject { RakeTasks::TestTask.new }

    should have_accessors :name, :description, :test_files
    should have_instance_method :to_task

    should "return a list of it's test_files" do
      subject.test_files = ["file1.rb", "file2.rb"]
      assert_equal "\"file1.rb\" \"file2.rb\"", subject.file_list
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
test-belt-1.1.2 test/rake_tasks_test.rb
test-belt-1.1.1 test/rake_tasks_test.rb
test-belt-1.1.0 test/rake_tasks_test.rb
test-belt-1.0.1 test/rake_tasks_test.rb
test-belt-1.0.0 test/rake_tasks_test.rb