diff options
Diffstat (limited to 'spec/rubyspec/core/proc/shared/call_arguments.rb')
-rw-r--r-- | spec/rubyspec/core/proc/shared/call_arguments.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/rubyspec/core/proc/shared/call_arguments.rb b/spec/rubyspec/core/proc/shared/call_arguments.rb deleted file mode 100644 index 2e510b194e..0000000000 --- a/spec/rubyspec/core/proc/shared/call_arguments.rb +++ /dev/null @@ -1,7 +0,0 @@ -describe :proc_call_block_args, shared: true do - it "can receive block arguments" do - Proc.new {|&b| b.send(@method)}.send(@method) {1 + 1}.should == 2 - lambda {|&b| b.send(@method)}.send(@method) {1 + 1}.should == 2 - proc {|&b| b.send(@method)}.send(@method) {1 + 1}.should == 2 - end -end |