Sha256: 621a49853a369782ebfb236abc554a9f0a3c315dc8753c5b10cdf31f4f8b7ef7
Contents?: true
Size: 641 Bytes
Versions: 84
Compression:
Stored size: 641 Bytes
Contents
require 'spec_helper' describe Softcover::Commands::Deployment do describe "default commands" do before { Softcover::Commands::Deployment.stub(:article?).and_return(false) } 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
84 entries across 84 versions & 1 rubygems