Skip to content

Commit

Permalink
buildy fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 6, 2014
1 parent 931bc72 commit 1d7f8ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_sasl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.xit(msg, &block)

it 'gracefully handle authentication failures' do
memcached(19124, '-S') do |dc|
assert_raises Dalli::DalliError, /32/ do
assert_error Dalli::DalliError, /32/ do
dc.set('abc', 123)
end
end
Expand All @@ -42,7 +42,7 @@ def self.xit(msg, &block)
it 'fail SASL authentication with wrong options' do
memcached(19124, '-S') do |dc|
dc = Dalli::Client.new('localhost:19124', :username => 'foo', :password => 'wrongpwd')
assert_raises Dalli::DalliError, /32/ do
assert_error Dalli::DalliError, /32/ do
dc.set('abc', 123)
end
end
Expand Down

0 comments on commit 1d7f8ce

Please sign in to comment.