Skip to content

Commit

Permalink
context/describe
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Feb 17, 2011
1 parent a142680 commit 94d9e7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/whois/client_spec.rb
Expand Up @@ -2,7 +2,7 @@

describe Whois::Client do

context "#initialize" do
describe "#initialize" do
it "accepts a zero parameters" do
lambda { klass.new }.should_not raise_error
end
Expand Down Expand Up @@ -40,7 +40,7 @@
end
end

context "#query" do
describe "#query" do
it "coerces the argument to string" do
# I can't use the String in place of instance_of(String)
# because Array#to_s behaves differently
Expand Down Expand Up @@ -87,7 +87,7 @@ def query(*args)
lambda { client.query("foo.com") }.should raise_error(Timeout::Error)
end

it "doesn't raise if timeout is not exceeded" do
it "does not raise if timeout is not exceeded" do
adapter = Class.new(Whois::Server::Adapters::Base) do
def query(*args)
sleep(1)
Expand Down

0 comments on commit 94d9e7b

Please sign in to comment.