spec/serializer_spec.rb in cuba-api-0.6.1 vs spec/serializer_spec.rb in cuba-api-0.6.2
- old
+ new
@@ -1,9 +1,10 @@
require 'spec_helper'
require 'cuba_api/config'
-require 'cuba_api/write_aspect'
-require 'cuba_api/serializer'
+require 'cuba_api/loggers'
+require 'cuba_api/aspects'
+require 'cuba_api/aspects/serializer'
require 'yaml'
require 'ixtlan/babel/serializer'
class A
def attributes
@@ -22,10 +23,11 @@
before do
Cuba.reset!
Cuba.plugin CubaApi::Config
Cuba[ :aspects ] = []
- Cuba.plugin CubaApi::WriteAspect
+ Cuba.plugin CubaApi::Loggers
+ Cuba.plugin CubaApi::Aspects
Cuba.plugin CubaApi::Serializer
Cuba.plugin ToYaml
Cuba.append_aspect :to_yaml
Cuba.define do
on default do