spec/lucid/facade_spec.rb in lucid-0.3.3 vs spec/lucid/facade_spec.rb in lucid-0.4.0
- old
+ new
@@ -1,14 +1,14 @@
require 'spec_helper'
module Lucid
- describe Runtime::Facade do
-
+ describe ContextLoader::Facade do
+
let(:interface) {double('interface')}
- subject { Runtime::Orchestrator.new(interface,{}) }
- let(:facade) { Runtime::Facade.new(subject, interface) }
-
+ subject { ContextLoader::Orchestrator.new(interface,{}) }
+ let(:facade) { ContextLoader::Facade.new(subject, interface) }
+
it 'should produce AST::Table by #table' do
facade.table( %{
| study | phase |
| test-01 | I |
| test-02 | II |
@@ -24,8 +24,8 @@
it 'should produce AST::DocString by #doc_string with ruby content-type' do
str = facade.doc_string('TEST','ruby')
str.should be_kind_of(AST::DocString)
str.content_type.should eq('ruby')
end
-
+
end
-end
\ No newline at end of file
+end