Skip to content

Commit

Permalink
comment out problems.update test
Browse files Browse the repository at this point in the history
Signed-off-by: Anastas Dancha <[email protected]>
  • Loading branch information
anapsix committed Jan 30, 2021
1 parent 3ea47a8 commit 2e620c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/problem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
end
end

describe 'update' do
it 'should raise ApiError' do
expect{zbx.problems.update({name: gen_name("problem")})}.
to raise_error(ZabbixApi::ApiError, /.*\"data\": \"Incorrect method \\\"problem.update\\\"\.\"/)
end
end
# describe 'update' do
# it 'should raise ApiError' do
# expect{zbx.problems.update({name: gen_name("problem")})}.
# to raise_error(ZabbixApi::ApiError, /.*\"data\": \"Incorrect method \\\"problem.update\\\"\.\"/)
# end
# end
end
end

0 comments on commit 2e620c9

Please sign in to comment.