test/acceptance_test.rb in torba-rails-1.0.0 vs test/acceptance_test.rb in torba-rails-1.0.1

- old
+ new

@@ -38,10 +38,10 @@ end def test_assets_precompile out, err, status = run_project_cmd(%{bundle exec rake assets:precompile}, "RAILS_ENV" => "production") assert status.success?, err - assets_version = (rails_version == "3.2") ? "3.2" : "4.2+" + assets_version = (rails_version > "4.1") ? "4.2+" : rails_version assert_dir_included "test/compiled_assets/#{assets_version}", "test/#{rails_version}/public/assets" end def rails_version ENV["RAILS_VERSION"] || "4.2"