Skip to content

Commit

Permalink
include is private sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Yurek committed Jun 19, 2015
1 parent c160ae5 commit 7f732ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/paperclip/glue_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

it "does not fail" do
NonActiveRecordModel = Class.new
NonActiveRecordModel.include(Paperclip::Glue)
NonActiveRecordModel.send :include, Paperclip::Glue
Object.send :remove_const, "NonActiveRecordModel"
end
end
Expand All @@ -36,9 +36,9 @@
end

it "does not fail" do
Foo = Class.new
Foo.include(Paperclip::Glue)
Object.send :remove_const, "Foo"
NonActiveRecordModel = Class.new
NonActiveRecordModel.send :include, Paperclip::Glue
Object.send :remove_const, "NonActiveRecordModel"
end
end
end

0 comments on commit 7f732ee

Please sign in to comment.