-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Conversation
@@ -20,6 +20,7 @@ | |||
config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml')) | |||
ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log") | |||
ActiveRecord::Base.establish_connection(config['test']) | |||
ActiveRecord::Base.raise_in_transactional_callbacks = true unless ActiveRecord::VERSION::STRING < "4.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [103/80]
I've also updated the travis config to allow travis's bundler caching to take effect and to run the allow_failures rubies after the primary rubies. It looks like this will allow travis to run about 50% faster. |
@@ -1,14 +1,11 @@ | |||
appraise "3.2" do | |||
gem "rails", "~> 3.2.0" | |||
gem "paperclip", :path => "../" | |||
gem "rails", "~> 3.2.15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave this as ~> 3.2.0
, as bundler will anyway install latest.
Thank you very much for your work. Can you please address my only comment, squash the commits together into one with a good commit message, and rebase on top of latest master? I'll merge right after. Thank you again! |
* update aruba methods for in_current_dir and check_file_presence * switch rspec syntax from should to expect * configure raise_in_transactional_callbacks if AR >= 4.2 * remove paperclip itself from Appraisal This also updates Travis to use the default bundler (to enable caching) and to build primary rubies first
Thanks, @tute . Squashed, rebased, and back to green. |
Fix specs broken by aruba changes
That's great, thank you! 👏 👍 |
This PR fixes the specs broken by the deprecation of
check_file_presence
in the latest aruba. While I was in there I also cleaned up the other deprecation warnings from aruba, rspec, and active record.