Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing visibility tests, nobody needs it.

  • Loading branch information...
commit bbb830d01a54c9a8339f615d3ab2360621ee51c9 1 parent 62bb53c
@apotonick apotonick authored
Showing with 0 additions and 17 deletions.
  1. +0 −17 test/unit/widget_test.rb
View
17 test/unit/widget_test.rb
@@ -91,23 +91,6 @@ class WidgetTest < ActiveSupport::TestCase
@mum.visible = false
assert_not @mum.visible?
end
-
- context "in a widget family" do
- setup do
- @mum << @jerry = mouse_mock('jerry')
- @mum << @berry = mouse_mock('berry')
- end
-
- should "per default return all #visible_children" do
- assert_equal [@jerry, @berry], @mum.visible_children
- assert_equal [], @jerry.visible_children
- end
-
- should "hide berry in #visible_children if he's invisible" do
- @berry.visible = false
- assert_equal [@jerry], @mum.visible_children
- end
- end
end
should "respond to #find_widget" do
Please sign in to comment.
Something went wrong with that request. Please try again.