diff options
Diffstat (limited to 'spec/rubyspec/library/set/union_spec.rb')
-rw-r--r-- | spec/rubyspec/library/set/union_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/rubyspec/library/set/union_spec.rb b/spec/rubyspec/library/set/union_spec.rb new file mode 100644 index 0000000000..c705497928 --- /dev/null +++ b/spec/rubyspec/library/set/union_spec.rb @@ -0,0 +1,11 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../shared/union', __FILE__) +require 'set' + +describe "Set#union" do + it_behaves_like :set_union, :union +end + +describe "Set#|" do + it_behaves_like :set_union, :| +end |