Skip to content
This repository
Browse code

Merge pull request #561 from timfel/fix-settings-test-maglev

MagLev doesn't #expand __FILE__ like it should
  • Loading branch information...
commit 08be86ac7bab59e40da5a0e5813cd66dc2bb96a7 2 parents d1e72d3 + 37e7d43
Konstantin Haase rkh authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  test/settings_test.rb
2  test/settings_test.rb
@@ -446,7 +446,7 @@ def pub; end
446 446 end
447 447
448 448 it 'defaults to the file subclassing' do
449   - assert_equal __FILE__, Sinatra.new.app_file
  449 + assert_equal File.expand_path(__FILE__), Sinatra.new.app_file
450 450 end
451 451 end
452 452

0 comments on commit 08be86a

Please sign in to comment.
Something went wrong with that request. Please try again.