Sha256: a75c07f639cd9cc76f6299a2f588be3ef69388d71b2c909265b9ad5de85aeadf
Contents?: true
Size: 368 Bytes
Versions: 22
Compression:
Stored size: 368 Bytes
Contents
require 'test_helper' class DestroyStackJobTest < ActiveSupport::TestCase setup do @job = DestroyStackJob.new @stack = Stack.first end test "perform destroys the received stack" do Shipit.github_api.expects(:remove_hook).times(@stack.github_hooks.count) assert_difference -> { Stack.count }, -1 do @job.perform(@stack) end end end
Version data entries
22 entries across 22 versions & 1 rubygems