From 6a104b8897709d456b6dae74c392e080a452bca7 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sat, 26 May 2018 22:11:51 +0100 Subject: [PATCH 1/2] Renamed quotes to quote to match documentation. --- lib/faker/singular_siegler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/faker/singular_siegler.rb b/lib/faker/singular_siegler.rb index 29557c5387..d90289dc1b 100644 --- a/lib/faker/singular_siegler.rb +++ b/lib/faker/singular_siegler.rb @@ -1,7 +1,7 @@ module Faker class SingularSiegler < Base class << self - def quotes + def quote fetch('singular_siegler.quotes') end end From 436cc2e426e25659615db8f9650e23cdf81fab96 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sat, 26 May 2018 22:19:48 +0100 Subject: [PATCH 2/2] Updated test. --- test/test_faker_singular_siegler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_faker_singular_siegler.rb b/test/test_faker_singular_siegler.rb index 599bf21bbb..83a644f107 100644 --- a/test/test_faker_singular_siegler.rb +++ b/test/test_faker_singular_siegler.rb @@ -6,6 +6,6 @@ def setup end def test_quote - assert @tester.quotes.match(/\w/) + assert @tester.quote.match(/\w/) end end