Sha256: de7c695745dc4ed784d838a0ea5bc81d67b697546d98aba85ffa1deab6903223

Contents?: true

Size: 628 Bytes

Versions: 4

Compression:

Stored size: 628 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

module Danger
  describe Danger::DangerTheCodingLove do
    it 'should be a plugin' do
      expect(Danger::DangerTheCodingLove.new(nil)).to be_a Danger::Plugin
    end

    describe 'with Dangerfile' do
      before do
        @dangerfile = testing_dangerfile
        @the_coding_love = @dangerfile.the_coding_love
      end

      it "prints a random post" do
        post = @the_coding_love.random

        expect(post[0]).not_to be_nil
        expect(post[1]).not_to be_nil
        expect(@dangerfile.status_report[:markdowns]).not_to be_nil
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danger-the_coding_love-0.0.5 spec/the_coding_love_spec.rb
danger-the_coding_love-0.0.4 spec/the_coding_love_spec.rb
danger-the_coding_love-0.0.3 spec/the_coding_love_spec.rb
danger-the_coding_love-0.0.2 spec/the_coding_love_spec.rb