Sha256: 38a4bef19544cbfa391c333455b5aa91c3fb10e9c0300fd3b73124f926df3c6b
Contents?: true
Size: 529 Bytes
Versions: 4
Compression:
Stored size: 529 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') describe Shining::Heroku do context "initializing" do it "checks if Git is in the binaries path" do old_path = ENV['PATH'] ENV['PATH'] = "" lambda do Shining::Heroku.new(@preso) end.should raise_error ENV['PATH'] = old_path end it "instances a new Heroku::Client" do Heroku::Command.should_receive(:run_internal).with('auth:client', []).and_return(mock_heroku_client) Shining::Heroku.new @preso end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shining-2.0.1 | spec/heroku_spec.rb |
shining-2.0.0 | spec/heroku_spec.rb |
shining-1.3.7 | spec/heroku_spec.rb |
shining-1.3.6 | spec/heroku_spec.rb |