Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

disable drb spec when offline

  • Loading branch information...
commit 38f312f22c8fe3369d5386c65d4840ee820f69cd 1 parent e5d98ca
@dchelimsky dchelimsky authored
View
2  spec/rspec/core/drb_command_line_spec.rb
@@ -1,6 +1,6 @@
require "spec_helper"
-describe "::DRbCommandLine", :ruby => "!jruby" do
+describe "::DRbCommandLine", :type => :drb, :unless => RUBY_PLATFORM == 'java' do
let(:config) { RSpec::Core::Configuration.new }
let(:out) { StringIO.new }
let(:err) { StringIO.new }
View
16 spec/support/spec_files.rb
@@ -10,11 +10,11 @@ def passing_spec_filename
def create_passing_spec_file
File.open(passing_spec_filename, 'w') do |f|
f.write %q{
- describe "passing spec" do
- it "passes" do
- 1.should eq(1)
- end
+ describe "passing spec" do
+ it "passes" do
+ 1.should eq(1)
end
+ end
}
end
end
@@ -22,11 +22,11 @@ def create_passing_spec_file
def create_failing_spec_file
File.open(failing_spec_filename, 'w') do |f|
f.write %q{
- describe "failing spec" do
- it "fails" do
- 1.should eq(2)
- end
+ describe "failing spec" do
+ it "fails" do
+ 1.should eq(2)
end
+ end
}
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.