test/lib/vedeu/output/presentation/colour_test.rb in vedeu-0.6.1 vs test/lib/vedeu/output/presentation/colour_test.rb in vedeu-0.6.2
- old
+ new
@@ -52,11 +52,11 @@
let(:parent) { Vedeu::ParentPresentationColourTestClass.new }
describe '#background' do
subject { includer.background }
- it { subject.must_be_instance_of(Vedeu::Background) }
+ it { subject.must_be_instance_of(Vedeu::Colours::Background) }
context 'when a colour is not set' do
let(:colour) {}
context 'when a parent is not available' do
@@ -88,11 +88,11 @@
end
describe '#foreground' do
subject { includer.foreground }
- it { subject.must_be_instance_of(Vedeu::Foreground) }
+ it { subject.must_be_instance_of(Vedeu::Colours::Foreground) }
it { subject.colour.must_equal('#aadd00') }
context 'when a colour is not set' do
let(:colour) {}
@@ -125,11 +125,11 @@
end
describe '#colour' do
subject { includer.colour }
- it { subject.must_be_instance_of(Vedeu::Colour) }
+ it { subject.must_be_instance_of(Vedeu::Colours::Colour) }
context 'when a colour is not set' do
let(:colour) {}
context 'when a parent is not available' do
@@ -151,15 +151,15 @@
end
end
describe '#colour=' do
let(:colour) {
- Vedeu::Colour.new(foreground: '#00ff00', background: '#000000')
+ Vedeu::Colours::Colour.new(foreground: '#00ff00', background: '#000000')
}
subject { includer.colour=(colour) }
- it { subject.must_be_instance_of(Vedeu::Colour) }
+ it { subject.must_be_instance_of(Vedeu::Colours::Colour) }
end
end # Colour
end # Presentation