diff options
| author | Tom Black <[email protected]> | 2021-02-13 17:22:02 -0600 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2021-02-13 17:22:02 -0600 |
| commit | 390641ed0ee96afdcc510f18e7ef21454a4f2308 (patch) | |
| tree | f904320cbf188e0e1bc2845b5b709305887fddd6 /test | |
| parent | c6993d3b810317693e295b42a1d6c8fd8b4c702d (diff) | |
| download | ruby2d-390641ed0ee96afdcc510f18e7ef21454a4f2308.tar.gz ruby2d-390641ed0ee96afdcc510f18e7ef21454a4f2308.zip | |
Add some more color/colour tests
Diffstat (limited to 'test')
| -rw-r--r-- | test/color_spec.rb | 3 |
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 |
