1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

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

MagLev doesn't #expand __FILE__ like it should
This commit is contained in:
Konstantin Haase 2012-08-17 14:34:56 -07:00
commit 08be86ac7b

View file

@ -446,7 +446,7 @@ class SettingsTest < Test::Unit::TestCase
end
it 'defaults to the file subclassing' do
assert_equal __FILE__, Sinatra.new.app_file
assert_equal File.expand_path(__FILE__), Sinatra.new.app_file
end
end