Sha256: 7d2c93091bda1f4869dfca8ae32a5a93d38fa6d37e899efd72e9c509539f57bf
Contents?: true
Size: 730 Bytes
Versions: 44
Compression:
Stored size: 730 Bytes
Contents
require 'spec_helper' describe EY::Serverside::Source::Archive do before do allow_any_instance_of(described_class).to receive(:runner) { RunnerDouble } end context "source" do let(:shell) { ShellDouble.new } subject { described_class.new(shell, :uri => "http://server.com/app.war", :repository_cache => TMPDIR) } it "cleans cache" do expect(subject).to respond_to(:gc_repository_cache) end it "compares revisions" do expect(subject.same?("1", "1")).to be end it "understands short log message" do expect(subject).to respond_to(:short_log_message) end it "updates the cache" do subject.update_repository_cache end end end
Version data entries
44 entries across 44 versions & 1 rubygems