From 390641ed0ee96afdcc510f18e7ef21454a4f2308 Mon Sep 17 00:00:00 2001 From: Tom Black Date: Sat, 13 Feb 2021 17:22:02 -0600 Subject: Add some more color/colour tests --- test/color_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/color_spec.rb b/test/color_spec.rb index 1f3f1ec..e4f9f63 100644 --- a/test/color_spec.rb +++ b/test/color_spec.rb @@ -50,6 +50,9 @@ RSpec.describe Ruby2D::Color do it "allows British English spelling of color" do expect(Ruby2D::Colour).to eq(Ruby2D::Color) + expect(Square.new.color.class).to eq(Ruby2D::Colour) + expect(Square.new.colour.class).to eq(Ruby2D::Color) + expect(Square.new.colour.class).to eq(Ruby2D::Colour) end end -- cgit v1.2.3