Browse files

Fix coding style for :shared

  • Loading branch information...
1 parent 0f4c2eb commit cb59db06e1203a67d172f118c535cbd0cda34021 @ryoqun ryoqun committed Feb 25, 2013
View
2 spec/ruby/library/net/ftp/shared/getbinaryfile.rb
@@ -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")
View
2 spec/ruby/library/net/ftp/shared/gettextfile.rb
@@ -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")
View
2 spec/ruby/library/net/ftp/shared/putbinaryfile.rb
@@ -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
View
2 spec/ruby/optional/capi/file_spec.rb
@@ -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)
View
2 spec/ruby/shared/fiber/resume.rb
@@ -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 cb59db0

Please sign in to comment.