summaryrefslogtreecommitdiffhomepage
path: root/test/text_spec.rb
diff options
context:
space:
mode:
authorTom Black <[email protected]>2018-09-28 13:23:43 -0700
committerTom Black <[email protected]>2018-09-28 13:23:43 -0700
commitaecb756b33510378d91d9737930d97a381cc9403 (patch)
tree4787990150f31f1211b987c4c3cd4a766f80e453 /test/text_spec.rb
parent9b51a3b4718b082301ff70b706ac53bec8668ac9 (diff)
downloadruby2d-aecb756b33510378d91d9737930d97a381cc9403.tar.gz
ruby2d-aecb756b33510378d91d9737930d97a381cc9403.zip
Style, docs, and consistency
Diffstat (limited to 'test/text_spec.rb')
-rw-r--r--test/text_spec.rb4
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