Sha256: 1e53f3cda7a9bea8cc3b61b993902377ae1b2cc2d01a525e9ed7146bd0321ade

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper'

describe 'wu' do

  let(:input) { %w[1 2 3] }
  
  context "without any arguments" do
    subject { wu() }
    it {should exit_with(:non_zero) }
    it "displays help on STDERR" do
      should have_stderr(/provide a Wukong command to run/)
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 spec/wukong/wu_spec.rb
ul-wukong-4.1.0 spec/wukong/wu_spec.rb
wukong-4.0.0 spec/wukong/wu_spec.rb