Sha256: b2bd81d496d3b55dd3a7f5f9d1f745fe5ac487edbf062c52df394f7c946ed36f

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

require 'spec/spec_helper'
describe "Premade Rake Tasks" do
  before :all do
    @file_name ="./lib/taglob/rake/tasks.rb"
    @rake = ::Rake::Application.new
    ::Rake.application = @rake
  end

  after :all do
    ::Rake.application = nil
  end
  
  it "should create a rake task to run test unit tests marked with tags" do
    load @file_name
    @rake.task_names_include?("test_tags").should be_true
  end
  it "should create a rake task to run test unit tests marked with tags" do
    load @file_name
    @rake.task_names_include?("spec_tags").should be_true
  end

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
scudco-taglob-1.1.2 spec/tasks_spec.rb
taglob-1.1.2 spec/tasks_spec.rb