spec/support/spec_perimeter.rb in kindergarten-0.0.5 vs spec/support/spec_perimeter.rb in kindergarten-0.1.0
- old
+ new
@@ -1,8 +1,10 @@
class SpecPerimeter < Kindergarten::Perimeter
+ purpose :testing
+
governess Kindergarten::StrictGoverness
- govern do |child|
+ govern do
can :view, String
end
# should pass and return the child
def sandboxed