diff options
Diffstat (limited to 'test/text_spec.rb')
| -rw-r--r-- | test/text_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text_spec.rb b/test/text_spec.rb index 6e0ba09..9a79532 100644 --- a/test/text_spec.rb +++ b/test/text_spec.rb @@ -12,13 +12,13 @@ RSpec.describe Ruby2D::Text do it 'maps Time to string' do t = Text.new(font: "test/media/bitstream_vera/vera.ttf") t.text = Time.new(1, 1, 1, 1, 1, 1, 1) - expect(t.text).to eq "0001-01-01 01:01:01 +0000" + expect(t.text).to eq("0001-01-01 01:01:01 +0000") end it "maps Number to string" do t = Text.new(font: "test/media/bitstream_vera/vera.ttf") t.text = 0 - expect(t.text).to eq "0" + expect(t.text).to eq("0") end end |
