spec/spec_helper.rb in git-topic-0.2.2 vs spec/spec_helper.rb in git-topic-0.2.3
- old
+ new
@@ -111,11 +111,15 @@
@output = ''
@err = ''
$stdout.stub!( :write ) { |*args| @output.<<( *args )}
$stderr.stub!( :write ) { |*args| @err.<<( *args )}
end
-
c.after( :each ) { Dir.chdir @starting_dir }
+
+
+ c.before( :each ) do
+ GitTopic::global_opts[:verbose] = true
+ end
end
# helpers # {{{