Sha256: 47723c2d5c7b121c3b8de2331274d7b655780d54bb60483b2933202919701443
Contents?: true
Size: 513 Bytes
Versions: 3
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper' describe Bueller::Commands::ReleaseToRubygems do let(:gemspec_helper) { mock(Bueller::GemSpecHelper) } let(:bueller) { mock(Bueller, :gemspec_helper => gemspec_helper) } let(:command) { Bueller::Commands::ReleaseToRubygems.new bueller } describe '.run' do it "should push to gemcutter" do command.gemspec_helper.stub!(:gem_path).and_return 'pkg/zomg-1.2.3.gem' command.should_receive(:sh).with(/gem push pkg\/zomg-1\.2\.3\.gem/) command.run end end end
Version data entries
3 entries across 3 versions & 1 rubygems