Sha256: c394683d3cf019b659138be8500ba8d46a17b9c8c123704642f766d767a6ebd5

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

require "spec_helper"

describe Cascadence::Commander do
  let(:lolcat) { Cascadence::Commander.new }
  context "public api" do
    describe "#flow" do
      let(:result) { lolcat.flow File.join(RSpec::FixturePath, "amazon", "madeira_flow.rb") }
      it "should run the flow stated" do
        result.should_not be_empty
      end
    end
    describe "#version" do
      let(:expected) { File.read File.expand_path("../../../VERSION", __FILE__) }
      let(:actual) { lolcat.version }
      it "should get the version as specified in the VERSION file" do
        actual.should eq expected
      end
    end
    describe "#generate" do
      it "should have tests" do
        pending "write tests here!"
      end
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cascadence-0.3.0 spec/cascadence/commander_spec.rb
cascadence-0.2.4 spec/cascadence/commander_spec.rb