We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ef202 commit c8fd964Copy full SHA for c8fd964
test/test_railtie.rb
@@ -187,11 +187,13 @@ def test_manifest_path
187
end
188
189
def test_manifest_path_respects_rails_public_path
190
- app.configure do
191
- config.paths['public'] = 'test_public'
192
- end
193
- app.initialize!
+ unless Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR == 0
+ app.configure do
+ config.paths['public'] = 'test_public'
+ end
194
+ app.initialize!
195
- assert_match %r{test_public/assets/manifest-.*.json}, ActionView::Base.assets_manifest.path
196
+ assert_match %r{test_public/assets/manifest-.*.json}, ActionView::Base.assets_manifest.path
197
198
199
0 commit comments