Sha256: a741c7b61312ba711b50bffa84dd4df8e4b742ba4a7c3fd4d014bdfa3230f6fb

Contents?: true

Size: 569 Bytes

Versions: 8

Compression:

Stored size: 569 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

8 entries across 8 versions & 2 rubygems

Version Path
scudco-taglob-1.0.0 spec/tasks_spec.rb
scudco-taglob-1.0.1 spec/tasks_spec.rb
scudco-taglob-1.0.2 spec/tasks_spec.rb
scudco-taglob-1.1.0 spec/tasks_spec.rb
scudco-taglob-1.1.1 spec/tasks_spec.rb
taglob-1.1.1 spec/tasks_spec.rb
taglob-1.0.0 spec/tasks_spec.rb
taglob-1.0.2 spec/tasks_spec.rb