hola_walliby 1.1 → 1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/tests/test_hola_walliby.rb +14 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cb4881bc29a9f16e77c53a8cafc8b558aacf8dd5cfb26dfbe48454d6eee15f7
4
- data.tar.gz: 6c7b126c31d49b6cf4077704d01a6e8fe19ce06bd1a170eda12076f86cf21ec3
3
+ metadata.gz: 7c95d10d6780ba8f669bed05430d30dab9ed9e7fc21b40b5cefbe9560e952bbd
4
+ data.tar.gz: 154b0fa7658286fc104627e50c50ca89b8791608ff14ac274d241d69630e370a
5
5
  SHA512:
6
- metadata.gz: 9d770c1db6c18312a610d952f8f64d3c9141b28761d0a06c9c30abf8a7f895890b0557a96b6bd245f675dd02ceb5eba84d91328a8e641fc6a6be0d66cd940cbc
7
- data.tar.gz: 99e5ece1fa607b13eb5ccd78b444a8e0aa2d501c1c75047793668471376c19dcc9ac60a9b26302f02d2b0a473538cc6e869f19bd4e45a0cc53451f2dc1b63dfe
6
+ metadata.gz: f940f20985cbc67e3c12575fefb84fec270ae3df8e0abfe9d960cb72ef6aa2f07708c20ccc5fe2b3f4163c25bc40f4e29385793630d425755fc49369a1705e65
7
+ data.tar.gz: 678e098ced09ab3f02aeb6b5bf71ad21e6363669869a4523021c394def7e5cb603b78d16ed3e226b610a265be94f0a65b1d65dd0afbd7c3266951caf6acbeb21
@@ -1,10 +1,19 @@
1
- require "./lib/hola_walliby.rb"
2
- require "test/unit"
1
+ require "minitest/autorun"
2
+ require "hola_walliby"
3
3
 
4
- class TestNAME < Test::Unit::TestCase
4
+ class HolaTest < Minitest::Test
5
+ def test_english_hello
6
+ assert_equal "hello world",
7
+ Hola.hi("english")
8
+ end
5
9
 
6
- def test_hola_walliby
7
- assert_equal(Hola.hi, "Hello world!")
10
+ def test_any_hello
11
+ assert_equal "hello world",
12
+ Hola.hi("ruby")
8
13
  end
9
14
 
15
+ def test_spanish_hello
16
+ assert_equal "hola mundo",
17
+ Hola.hi("spanish")
18
+ end
10
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_walliby
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Wallace