Sha256: f0b9270028aa9d4371ad2710046ad2f23cca0e172540d0f200afc97f02c81aa7
Contents?: true
Size: 642 Bytes
Versions: 18
Compression:
Stored size: 642 Bytes
Contents
require 'spec_helper' describe "git" do include_context :capistrano its(:scm) { should == :git } its(:branch) { should == :master } its(:deploy_via) { should == :remote_git } its(:git_enable_submodules) { should == true } context 'without application set' do it 'call to repository should abort' do subject.set(:application) { raise "Not defined" } expect { subject[:repository] }.to raise_error("Not defined") end end context 'with application set' do it "should set proper repository" do subject.set(:application, 'my-app') subject.repository == 'git.o2h.cz:my-app' end end end
Version data entries
18 entries across 18 versions & 1 rubygems