summaryrefslogtreecommitdiffstats
path: root/spec/ecore_evas_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ecore_evas_spec.rb')
-rw-r--r--spec/ecore_evas_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ecore_evas_spec.rb b/spec/ecore_evas_spec.rb
index c141460..a9abec9 100644
--- a/spec/ecore_evas_spec.rb
+++ b/spec/ecore_evas_spec.rb
@@ -62,7 +62,7 @@ describe Efl::EcoreEvas do
before(:each) do
@e = EcoreEvas::REcoreEvas.new :engine_name=>"software_x11", :x=>10, :y=>10, :w=>100, :h=>120
@canvas = @e.evas
- @bg = @canvas.object_add(:rectangle) { |o|
+ @bg = @canvas.object_rectangle_add { |o|
o.color = 100, 100, 255, 255
o.size = @e.size
}