diff options
| author | Seba Gamboa <[email protected]> | 2017-01-26 22:11:40 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-26 22:11:40 -0800 |
| commit | f443012c63bc8e5f086358479210b4da11b161ee (patch) | |
| tree | 61b6b37b091b7cd2d115e22088064b88d363463a /spec/code_objects/header_object_spec.rb | |
| parent | 4caa5e98ac14feeb8dcb4cf6af4add4aaf228628 (diff) | |
| parent | a1bca6e247872d93d2d3b10ed36f2a3800edda8a (diff) | |
| download | yard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.tar.gz yard-mruby-f443012c63bc8e5f086358479210b4da11b161ee.zip | |
Merge pull request #16 from jmhmccr/yard-0-9-compatibility
Update to Yard >= 0.9.0
Diffstat (limited to 'spec/code_objects/header_object_spec.rb')
| -rw-r--r-- | spec/code_objects/header_object_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/code_objects/header_object_spec.rb b/spec/code_objects/header_object_spec.rb new file mode 100644 index 0000000..2e10a70 --- /dev/null +++ b/spec/code_objects/header_object_spec.rb @@ -0,0 +1,10 @@ +require_relative 'spec_helper' + +describe YARD::MRuby::CodeObjects::HeaderObject do + before { Registry.clear } + + it "should return the name of the header for the path" do + header_object = YARD::MRuby::CodeObjects::HeaderObject.new(nil, :"mruby.h") + expect(header_object.path).to eq("mruby.h") + end +end |
