test/context_access_test.rb in surrounded-0.8.2 vs test/context_access_test.rb in surrounded-0.8.3
- old
+ new
@@ -9,10 +9,10 @@
trigger :if_ready do
'ready'
end
- disallow :if_ready do
+ guard :if_ready do
user.name != 'Amy'
end
trigger :check_disallow_behavior do
# used for disallow check
\ No newline at end of file