Skip to content

Commit

Permalink
Remove duplicated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Verseth authored and ueno committed Jan 23, 2024
1 parent 2ac00ff commit 7d6dc97
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions test/ctx_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,36 +165,6 @@
end
end

describe :ignore_mdc_error do
it "sets false by default" do
ctx = GPGME::Ctx.new
refute ctx.ignore_mdc_error
end

it "can set" do
ctx = GPGME::Ctx.new
ctx.ignore_mdc_error = true
assert ctx.ignore_mdc_error
end

it "can set and unset" do
ctx = GPGME::Ctx.new

ctx.ignore_mdc_error = true
assert ctx.ignore_mdc_error

ctx.ignore_mdc_error = false
refute ctx.ignore_mdc_error
end

it "can set and get in constructor" do
ctx = GPGME::Ctx.new(:ignore_mdc_error => false)
refute ctx.ignore_mdc_error
ctx = GPGME::Ctx.new(:ignore_mdc_error => true)
assert ctx.ignore_mdc_error
end
end

describe :ignore_mdc_error do
it "sets false by default" do
ctx = GPGME::Ctx.new
Expand Down

0 comments on commit 7d6dc97

Please sign in to comment.