Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
adding RSpec namespace (3.4.0) doesn't contain the global space monke…
Browse files Browse the repository at this point in the history
…ypatch of .describe anymore
  • Loading branch information
Tiago Cardoso committed Jan 8, 2016
1 parent 7ce68a5 commit 21ddab6
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion spec/celluloid/io/actor_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'

describe Celluloid::IO do
RSpec.describe Celluloid::IO do
it_behaves_like "a Celluloid Actor", Celluloid::IO
end
2 changes: 1 addition & 1 deletion spec/celluloid/io/dns_resolver_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::DNSResolver do
RSpec.describe Celluloid::IO::DNSResolver do
describe '#resolve' do
it 'resolves hostnames' do
resolver = Celluloid::IO::DNSResolver.new
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/mailbox_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'

describe Celluloid::IO::Mailbox do
RSpec.describe Celluloid::IO::Mailbox do
it_behaves_like "a Celluloid Mailbox"
end
2 changes: 1 addition & 1 deletion spec/celluloid/io/ssl_server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::SSLServer do
RSpec.describe Celluloid::IO::SSLServer do
let(:client_cert) { OpenSSL::X509::Certificate.new fixture_dir.join("client.crt").read }
let(:client_key) { OpenSSL::PKey::RSA.new fixture_dir.join("client.key").read }
let(:client_context) do
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/ssl_socket_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'spec_helper'
require 'openssl'

describe Celluloid::IO::SSLSocket do
RSpec.describe Celluloid::IO::SSLSocket do
let(:request) { 'ping' }
let(:response) { 'pong' }

Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/tcp_server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::TCPServer do
RSpec.describe Celluloid::IO::TCPServer do
describe "#accept" do
let(:payload) { 'ohai' }

Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/tcp_socket_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::TCPSocket do
RSpec.describe Celluloid::IO::TCPSocket do
let(:payload) { 'ohai' }

context "inside Celluloid::IO" do
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/udp_socket_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::UDPSocket do
RSpec.describe Celluloid::IO::UDPSocket do
let(:payload) { 'ohai' }
subject do
Celluloid::IO::UDPSocket.new.tap do |sock|
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/unix_server_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::UNIXServer do
RSpec.describe Celluloid::IO::UNIXServer do
describe "#accept" do
before do
pending "JRuby support" if defined?(JRUBY_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io/unix_socket_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO::UNIXSocket do
RSpec.describe Celluloid::IO::UNIXSocket do
before do
pending "JRuby support" if defined?(JRUBY_VERSION)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/celluloid/io_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Celluloid::IO do
RSpec.describe Celluloid::IO do
context "copy_stream" do
let(:host) { "127.0.0.1" }
let(:port) { 23456 }
Expand Down

0 comments on commit 21ddab6

Please sign in to comment.