summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom Black <[email protected]>2021-02-13 17:22:02 -0600
committerTom Black <[email protected]>2021-02-13 17:22:02 -0600
commit390641ed0ee96afdcc510f18e7ef21454a4f2308 (patch)
treef904320cbf188e0e1bc2845b5b709305887fddd6
parentc6993d3b810317693e295b42a1d6c8fd8b4c702d (diff)
downloadruby2d-390641ed0ee96afdcc510f18e7ef21454a4f2308.tar.gz
ruby2d-390641ed0ee96afdcc510f18e7ef21454a4f2308.zip
Add some more color/colour tests
-rw-r--r--test/color_spec.rb3
1 files changed, 3 insertions, 0 deletions
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