Skip to content

Commit

Permalink
removing visibility tests, nobody needs it.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Feb 22, 2011
1 parent 62bb53c commit bbb830d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/unit/widget_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit bbb830d

Please sign in to comment.