Sha256: 502f587192e43d7d309dad6c1735f0ff43c329c8b5d20ba2ddc7e505dd732855

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require "spec_helper"

module Bickle
  describe Bickle do
    it "returns builds for the given repository" do
      HttpClient.should_receive(:get) { "[{\"result\": 0}]"}

      argv = ["builds", "rails", "-c", "result"]
      capture(:stdout) do
        Runner.start(argv)
      end.should include "PASS"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bickle-0.0.1 spec/bickle_spec.rb