Sha256: 85571e556b4a9030c231b8f387772a9ca05594720e2df5cc9256b92d51bd7329

Contents?: true

Size: 560 Bytes

Versions: 88

Compression:

Stored size: 560 Bytes

Contents

require 'spec_helper'

describe Softcover::Commands::Deployment do

  describe "default commands" do
    subject { Softcover::Commands::Deployment.default_commands }

    it { should match /softcover build:all/ }
    it { should match /softcover build:preview/ }
    it { should match /softcover publish/ }
  end

  describe "commands helper" do
    let(:lines) { ['foo', ' #  bar', 'baz'] }
    subject { Softcover::Commands::Deployment.commands(lines) }

    it { should match /foo/ }
    it { should_not match /bar/ }
    it { should match /baz/ }
  end
end

Version data entries

88 entries across 88 versions & 2 rubygems

Version Path
softcover-1.1.6 spec/commands/deployment_spec.rb
softcover-1.1.4 spec/commands/deployment_spec.rb
softcover-1.1.3 spec/commands/deployment_spec.rb
softcover-1.1.2 spec/commands/deployment_spec.rb
softcover-1.1.1 spec/commands/deployment_spec.rb
softcover-1.1.0 spec/commands/deployment_spec.rb
softcover-1.1.beta2 spec/commands/deployment_spec.rb
softcover-1.0.5 spec/commands/deployment_spec.rb
softcover-1.1.beta1 spec/commands/deployment_spec.rb
softcover-1.0.4 spec/commands/deployment_spec.rb
softcover-1.0.3 spec/commands/deployment_spec.rb
softcover-1.0.2 spec/commands/deployment_spec.rb
softcover-1.0.1 spec/commands/deployment_spec.rb
softcover-1.0.0 spec/commands/deployment_spec.rb
softcover-1.0.beta17 spec/commands/deployment_spec.rb
softcover-1.0.beta16 spec/commands/deployment_spec.rb
softcover-1.0.beta15 spec/commands/deployment_spec.rb
softcover-1.0.beta14 spec/commands/deployment_spec.rb
softcover-1.0.beta13 spec/commands/deployment_spec.rb
softcover-1.0.beta12 spec/commands/deployment_spec.rb