test/lib/vedeu/output/foreground_test.rb in vedeu-0.4.9 vs test/lib/vedeu/output/foreground_test.rb in vedeu-0.4.10
- old
+ new
@@ -3,11 +3,13 @@
module Vedeu
describe Foreground do
let(:described) { Vedeu::Foreground }
- let(:instance) { described.new(colour) }
- let(:colour) {}
+ let(:instance) { described.new(colour) }
+ let(:colour) {}
+
+ before { Vedeu.foreground_colours.reset! }
describe '.escape_sequence' do
context 'when the colour is empty' do
it 'returns an empty String' do
Foreground.escape_sequence('').must_equal('')