diff --git a/.travis.yml b/.travis.yml index fd63650..52acbdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ env: - "RAILS_VERSION=3.2" - "RAILS_VERSION=3.1" - "RAILS_VERSION=3.0" + - "RAILS_VERSION=master" matrix: allow_failures: - rvm: ruby-head + - env: "RAILS_VERSION=master" diff --git a/spec/support/active_record.rb b/spec/support/active_record.rb index b581423..b6a5db4 100644 --- a/spec/support/active_record.rb +++ b/spec/support/active_record.rb @@ -1,18 +1,5 @@ module ActiveRecord class Base - include ActiveModel::Validations - include ActiveModel::Conversion - - attr_reader :errors, :to_model - - def initialize - @errors = ActiveModel::Errors.new(self) - end - - def self.limit - self - end - end end