test/lib/vedeu/output/html_char_test.rb in vedeu-0.6.1 vs test/lib/vedeu/output/html_char_test.rb in vedeu-0.6.2
- old
+ new
@@ -41,11 +41,12 @@
context 'when there is a border' do
let(:border) { :top_left }
context 'when there is a colour' do
let(:colour) {
- Vedeu::Colour.new(background: '#220022', foreground: '#aadd00')
+ Vedeu::Colours::Colour.new(background: '#220022',
+ foreground: '#aadd00')
}
it { subject.must_equal(
"<td style='" \
"border:1px #220022 solid;" \
@@ -58,10 +59,11 @@
end
context 'when there is no colour' do
context 'when there is a parent colour' do
let(:parent_colour) {
- Vedeu::Colour.new(background: '#002222', foreground: '#dd2200')
+ Vedeu::Colours::Colour.new(background: '#002222',
+ foreground: '#dd2200')
}
it { subject.must_equal(
"<td style='" \
"border:1px #002222 solid;" \