Sha256: 4c75f19a1caa7ee225b0f392a41ae0ccbb08de9adc649428ae2d9846260114d3

Contents?: true

Size: 722 Bytes

Versions: 2

Compression:

Stored size: 722 Bytes

Contents

require 'spec_helper'

describe JekyllGhPages do
  it 'has a version number' do
    expect(JekyllGhPages::VERSION).not_to be nil
  end

  describe 'tasks' do
    before(:all) do
      # TODO test jekyll-gh-pages.rb
      load File.expand_path("../../lib/jekyll-gh-pages/tasks/gh-pages.rake", __FILE__)
    end

    it 'defines build task' do
      expect(Rake::Task.task_defined?('build')).to be true
    end

    it 'defines prepare task' do
      expect(Rake::Task.task_defined?('prepare')).to be true
    end

    it 'defines watch task' do
      expect(Rake::Task.task_defined?('watch')).to be true
    end

    it 'defines deploy task' do
      expect(Rake::Task.task_defined?('deploy')).to be true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-gh-pages-0.1.0 spec/jekyll-gh-pages_spec.rb
jekyll-gh-pages-0.0.1 spec/jekyll-gh-pages_spec.rb