diff options
| -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 |
