Sha256: 45b7b369051828ec1cdb50ad3b52f85dffbaf29881c209da769493144de2c601
Contents?: true
Size: 912 Bytes
Versions: 1
Compression:
Stored size: 912 Bytes
Contents
require 'spec_helper' describe GitTopic do describe "#install_aliases" do before( :each ){ use_repo 'in-progress' } it "should install aliases" do GitTopic.install_aliases :local => true git_config( 'alias.work-on' ).should == 'topic work-on' git_config( 'alias.done' ).should == 'topic done' git_config( 'alias.review' ).should == 'topic review' git_config( 'alias.accept' ).should == 'topic accept' git_config( 'alias.reject' ).should == 'topic reject' git_config( 'alias.comment' ).should == 'topic comment' git_config( 'alias.comments' ).should == 'topic comments' end it "should provide feedback to the user" do GitTopic.install_aliases :local => true $?.success?.should == true @output.should_not be_nil @output.should_not be_empty end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git-topic-0.2.5 | spec/git_topic_install_aliases_spec.rb |