Sha256: 0ed444bc5a31d19f9d239517fb4255b3a6c1a9b90fa0b712a8080821d0f79d19

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

require 'findex/tasks'

describe Findex do
  describe "indexes task" do
    it "should exist" do
      Rake::Task['db:indexes'].should_not be_nil
    end

    it "should default to listing all missing indices"
  end

  it "should create an indexes:boolean task" do
    Rake::Task['db:indexes:boolean'].should_not be_nil
  end

  it "should create an indexes:datetime task" do
    Rake::Task['db:indexes:datetime'].should_not be_nil
  end

  it "should create an indexes:geo task" do
    Rake::Task['db:indexes:geo'].should_not be_nil
  end

  it "should create an indexes:help task" do
    Rake::Task['db:indexes:help'].should_not be_nil
  end

  it "should create an indexes:migration task" do
    Rake::Task['db:indexes:migration'].should_not be_nil
  end

  it "should create an indexes:names task" do
    Rake::Task['db:indexes:names'].should_not be_nil
  end

  it "should create an indexes:perform task" do
    Rake::Task['db:indexes:perform'].should_not be_nil
  end

  it "should create an indexes:primary task" do
    Rake::Task['db:indexes:primary'].should_not be_nil
  end

  it "should create an indexes:relationships task" do
    Rake::Task['db:indexes:relationships'].should_not be_nil
  end

  it "should create an indexes:types task" do
    Rake::Task['db:indexes:types'].should_not be_nil
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
findex-0.2.3 spec/findex_tasks_spec.rb
findex-0.2.2 spec/findex_tasks_spec.rb
findex-0.2.1 spec/findex_tasks_spec.rb
findex-0.2.0 spec/findex_tasks_spec.rb
findex-0.1.0 spec/findex_tasks_spec.rb
findex-0.0.1 spec/findex_tasks_spec.rb