Skip to content

Commit

Permalink
Refactor spec to remove AS 3.1 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leshill committed Jun 18, 2011
1 parent 70916df commit 33cbeef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/mongo_doc/root_spec.rb
Expand Up @@ -3,8 +3,12 @@
describe "MongoDoc::Root" do
class RootTest
include MongoDoc::Root
attr_accessor_with_default(:_associations) {[]}
attr_accessor :_associations
attr_accessor :association

def initialize
self._associations = []
end
end

let(:doc) { RootTest.new }
Expand Down

0 comments on commit 33cbeef

Please sign in to comment.