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

- old
+ new

@@ -1,9 +1,10 @@ require 'spec_helper' -require 'cuba_api/write_aspect' +require 'cuba_api/aspects' require 'cuba_api/config' -require 'cuba_api/response_status' +require 'cuba_api/loggers' +require 'cuba_api/aspects/response_status' class E def id 4711 @@ -35,10 +36,12 @@ describe CubaApi::ResponseStatus do before do Cuba.reset! Cuba.plugin CubaApi::Config - Cuba.plugin CubaApi::WriteAspect + Cuba.plugin CubaApi::Loggers + Cuba.plugin CubaApi::Aspects + Cuba.aspects.clear Cuba.plugin CubaApi::ResponseStatus Cuba.define do on get do write E.new :errors => { :name => 'missing name' } end