Permalink
Browse files

MagLev doesn't #expand __FILE__ like it should

  • Loading branch information...
1 parent d1e72d3 commit 37e7d43034779e4d3bb4f2411df734017e3eecac @timfel timfel committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/settings_test.rb
View
@@ -446,7 +446,7 @@ def pub; end
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

0 comments on commit 37e7d43

Please sign in to comment.