spec/accept_spec.rb in cuba-api-0.5.1 vs spec/accept_spec.rb in cuba-api-0.6.0
- old
+ new
@@ -1,7 +1,8 @@
require 'spec_helper'
require 'cuba_api/config'
+require 'cuba_api/utils'
require 'cuba_api/write_aspect'
require 'cuba_api/accept_content'
require 'yaml'
class B
@@ -13,9 +14,10 @@
describe CubaApi::AcceptContent do
before do
Cuba.reset!
Cuba.plugin CubaApi::Config
+ Cuba.plugin CubaApi::Utils
Cuba[ :aspects ] = []
Cuba.plugin CubaApi::WriteAspect
Cuba.plugin CubaApi::AcceptContent
Cuba.accept :yaml
Cuba.define do