Permalink
Browse files

Merge pull request #2176 from ryoqun/spec-shared-style

Fix coding style for :shared
  • Loading branch information...
2 parents 6e42649 + cb59db0 commit 3059758471c9df03d32c3c02b804ca6a3d676bc7 @dbussink dbussink committed Feb 25, 2013
@@ -1,4 +1,4 @@
-describe :net_ftp_getbinaryfile, :shared => :true do
+describe :net_ftp_getbinaryfile, :shared => true do
before(:each) do
@fixture_file = File.dirname(__FILE__) + "/../fixtures/getbinaryfile"
@tmp_file = tmp("getbinaryfile")
@@ -1,4 +1,4 @@
-describe :net_ftp_gettextfile, :shared => :true do
+describe :net_ftp_gettextfile, :shared => true do
before(:each) do
@tmp_file = tmp("gettextfile")
@@ -1,4 +1,4 @@
-describe :net_ftp_putbinaryfile, :shared => :true do
+describe :net_ftp_putbinaryfile, :shared => true do
before(:each) do
@server = NetFTPSpecs::DummyFTP.new
@server.serve_once
@@ -2,7 +2,7 @@
load_extension('file')
-describe :rb_file_open, :shared =>true do
+describe :rb_file_open, :shared => true do
it "raises an ArgumentError if passed an empty mode string" do
touch @name
lambda { @s.rb_file_open(@name, "") }.should raise_error(ArgumentError)
@@ -1,4 +1,4 @@
-describe :fiber_resume, :shared => :true do
+describe :fiber_resume, :shared => true do
it "can be invoked from the root Fiber" do
fiber = Fiber.new { :fiber }
fiber.send(@method).should == :fiber

0 comments on commit 3059758

Please sign in to comment.