class MR::TestHelpers::ModelDestroyedAssertion

Public Instance Methods

run(context) click to toggle source
# File lib/mr/test_helpers.rb, line 169
def run(context)
  context.assert_true(@destroyed){ destroyed_desc }
end

Private Instance Methods

destroyed_desc() click to toggle source
# File lib/mr/test_helpers.rb, line 175
def destroyed_desc
  "Expected #{@model.inspect} was destroyed."
end