Sha256: b64a307cd118f766396b0e3f9117916b967892b1b43f8848cdb33a3be8cec2f4

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

describe Rbsh::CLI do
  describe "version" do
    it "displays gem version on shortcut command" do
      rbsh("-v").chomp.should == Rbsh::VERSION
    end
  end

  describe %q{rbsh -e 'echo("test")'} do
    subject { rbsh("-e" 'echo("test")') }
    it { should eq "test\n" }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbsh-0.0.1 spec/rbsh/cli_spec.rb