mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix ActionPack build on Windows: we really should not test anything regarding symlinks on Windows.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
parent
28347d889b
commit
fdaa9ed033
1 changed files with 11 additions and 9 deletions
|
@ -165,15 +165,17 @@ class LayoutStatusIsRenderedTest < ActionController::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
class LayoutSymlinkedTest < LayoutTest
|
||||
unless RUBY_PLATFORM =~ /(:?mswin|mingw|bccwin)/
|
||||
class LayoutSymlinkedTest < LayoutTest
|
||||
layout "symlinked/symlinked_layout"
|
||||
end
|
||||
end
|
||||
|
||||
class LayoutSymlinkedIsRenderedTest < ActionController::TestCase
|
||||
class LayoutSymlinkedIsRenderedTest < ActionController::TestCase
|
||||
def test_symlinked_layout_is_rendered
|
||||
@controller = LayoutSymlinkedTest.new
|
||||
get :hello
|
||||
assert_response 200
|
||||
assert_equal "layouts/symlinked/symlinked_layout", @response.layout
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue