diff options
| author | Tom Black <[email protected]> | 2018-10-05 22:44:13 -0700 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2018-10-08 17:34:17 -0700 |
| commit | 4a4df9831003e0c9f51278b968a78d1900b9a3d9 (patch) | |
| tree | 9c3ea4774243a48e07ee75f18da77b2ba1c1bf6f /test/circle_spec.rb | |
| parent | 13821e171daa52e2b9c4d35320eee0492b727bb7 (diff) | |
| download | ruby2d-4a4df9831003e0c9f51278b968a78d1900b9a3d9.tar.gz ruby2d-4a4df9831003e0c9f51278b968a78d1900b9a3d9.zip | |
Reorganize Image, Sprite, and Text args
Start with the required argument first as positional, followed by optional ones as keyword arguments
Co-Authored-By: Andrew Havens <[email protected]>
Diffstat (limited to 'test/circle_spec.rb')
| -rw-r--r-- | test/circle_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/circle_spec.rb b/test/circle_spec.rb index dd49e2c..0c88b7f 100644 --- a/test/circle_spec.rb +++ b/test/circle_spec.rb @@ -5,7 +5,7 @@ RSpec.describe Ruby2D::Circle do describe "#new" do it "creates a white circle by default" do circle = Circle.new - expect(circle.color).to be_a(Ruby2D::Color) + expect(circle.color).to be_a(Ruby2D::Color) expect(circle.color.r).to eq(1) expect(circle.color.g).to eq(1) expect(circle.color.b).to eq(1) |
