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-0.9.15 spec/commands/deployment_spec.rb
softcover-0.9.13 spec/commands/deployment_spec.rb
softcover-0.9.12 spec/commands/deployment_spec.rb
softcover-0.9.11 spec/commands/deployment_spec.rb
softcover-0.9.10 spec/commands/deployment_spec.rb
softcover-0.9.9 spec/commands/deployment_spec.rb
softcover-0.9.8 spec/commands/deployment_spec.rb
softcover-0.9.7 spec/commands/deployment_spec.rb
softcover-0.9.6 spec/commands/deployment_spec.rb
softcover-0.9.5 spec/commands/deployment_spec.rb
softcover-0.9.4 spec/commands/deployment_spec.rb
softcover-0.9.3 spec/commands/deployment_spec.rb
softcover-0.9.2 spec/commands/deployment_spec.rb
softcover-0.9.1 spec/commands/deployment_spec.rb
softcover-0.9.0 spec/commands/deployment_spec.rb
softcover-0.8.9 spec/commands/deployment_spec.rb
softcover-0.8.8 spec/commands/deployment_spec.rb
softcover-0.8.7 lib/softcover/commands/deployment_spec.rb
softcover-0.8.6 lib/softcover/commands/deployment_spec.rb
softcover-0.8.5 lib/softcover/commands/deployment_spec.rb