MagLev doesn't #expand __FILE__ like it should

This commit is contained in:
Tim Felgentreff 2012-08-17 09:55:56 +02:00
parent d1e72d30b4
commit 37e7d43034
1 changed files with 1 additions and 1 deletions

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