summaryrefslogtreecommitdiff
path: root/spec/ruby/core/complex/rect_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/complex/rect_spec.rb')
-rw-r--r--spec/ruby/core/complex/rect_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/complex/rect_spec.rb b/spec/ruby/core/complex/rect_spec.rb
new file mode 100644
index 0000000000..cf2ff9e83b
--- /dev/null
+++ b/spec/ruby/core/complex/rect_spec.rb
@@ -0,0 +1,9 @@
+require File.expand_path('../../../shared/complex/rect', __FILE__)
+
+describe "Complex#rect" do
+ it_behaves_like(:complex_rect, :rect)
+end
+
+describe "Complex.rect" do
+ it_behaves_like(:complex_rect_class, :rect)
+end