module Gravaty::ParsableDuckType
This module represents the parsable duck type element for testing purposes.
- Author
rubocop:disable Style/AsciiComments
- Copyright
-
Copyright © 2013, 2014, 2015, 2016, 2017, 2018,
2019 Marco Bresciani rubocop:enable Style/AsciiComments
- License
-
GNU General Public License version 3
Public Instance Methods
test_parsable_duck_type()
click to toggle source
The method that tests the parsable duck type interface and its parse
method.
# File test/test_helper.rb 107 def test_parsable_duck_type 108 _(subject).must_respond_to :parse unless subject.nil? 109 end