Skip to content

Commit

Permalink
Merge pull request #421 from drapergem/test_rails_master
Browse files Browse the repository at this point in the history
Test and allow failures against Rails master
  • Loading branch information
haines committed Jan 14, 2013
2 parents 130edec + b3d5879 commit e9b71e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
13 changes: 0 additions & 13 deletions spec/support/active_record.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit e9b71e3

Please sign in to comment.