spec/accept_spec.rb in cuba-api-0.6.1 vs spec/accept_spec.rb in cuba-api-0.6.2

- old
+ new

@@ -1,10 +1,11 @@ require 'spec_helper' require 'cuba_api/config' +require 'cuba_api/loggers' require 'cuba_api/utils' -require 'cuba_api/write_aspect' -require 'cuba_api/accept_content' +require 'cuba_api/aspects' +require 'cuba_api/aspects/accept_content' require 'yaml' class B def method_missing( method, *args ) method.to_s @@ -14,12 +15,13 @@ describe CubaApi::AcceptContent do before do Cuba.reset! Cuba.plugin CubaApi::Config + Cuba.plugin CubaApi::Loggers Cuba.plugin CubaApi::Utils Cuba[ :aspects ] = [] - Cuba.plugin CubaApi::WriteAspect + Cuba.plugin CubaApi::Aspects Cuba.plugin CubaApi::AcceptContent Cuba.accept :yaml Cuba.define do on default do write B.new