test/lib/vedeu/dsl/presentation_test.rb in vedeu-0.6.8 vs test/lib/vedeu/dsl/presentation_test.rb in vedeu-0.6.9
- old
+ new
@@ -6,11 +6,11 @@
describe Presentation do
let(:described) { Vedeu::DSL::Presentation }
let(:instance) { Vedeu::DSL::Interface.new(model) }
- let(:model) { Vedeu::Interface.new }
+ let(:model) { Vedeu::Models::Interface.new }
let(:background) { '#00ff00' }
let(:foreground) { '#ff00ff' }
context 'setting both background and foreground' do
let(:dsl) {
@@ -90,10 +90,10 @@
it { instance.must_respond_to(:style=) }
it { instance.must_respond_to(:styles) }
it { instance.must_respond_to(:styles=) }
- it { subject.must_be_instance_of(Vedeu::Style) }
+ it { subject.must_be_instance_of(Vedeu::Presentation::Style) }
end
end # Presentation
end # DSL