test/lib/vedeu/support/esc_test.rb in vedeu-0.4.2 vs test/lib/vedeu/support/esc_test.rb in vedeu-0.4.3
- old
+ new
@@ -2,9 +2,15 @@
module Vedeu
describe Esc do
+ let(:described) { Vedeu::Esc }
+
+ describe 'alias methods' do
+ it { described.must_respond_to(:foreground_codes) }
+ end
+
describe 'colours defined via define_method' do
it 'returns an escape sequence for the foreground colour' do
Esc.magenta.must_equal("\e[35m")
end