Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Nicolas McCurdy
2014-01-15 16:57:41 -05:00
6 changed files with 38 additions and 3 deletions

View File

@@ -565,4 +565,11 @@ describe 'homesick' do
expect { homesick.open "castle_repo" }.to raise_error(SystemExit)
end
end
describe 'version' do
it 'should print the current version of homesick' do
text = Capture.stdout { homesick.version }
text.chomp.should =~ /\d+\.\d+\.\d+/
end
end
end