spec/acceptance/aql_spec.rb in guacamole-0.2.0 vs spec/acceptance/aql_spec.rb in guacamole-0.3.0
- old
+ new
@@ -1,21 +1,9 @@
# -*- encoding : utf-8 -*-
require 'guacamole'
require 'acceptance/spec_helper'
-class Pony
- include Guacamole::Model
-
- attribute :name, String
- attribute :color, String
- attribute :type, Array[String]
-end
-
-class PoniesCollection
- include Guacamole::Collection
-end
-
describe 'BasicAQLSupport' do
subject { PoniesCollection }
let(:pegasus_pony) { Fabricate(:pony, type: ['Pegasus']) }
let(:earth_pony) { Fabricate(:pony, type: ['Earthpony'], name: 'Candy Mane') }