We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58858da commit b8250a2Copy full SHA for b8250a2
spec/writers/slate_writer_spec.rb
@@ -22,20 +22,5 @@
22
subject { writer.markup_example_class }
23
it { is_expected.to be == RspecApiDocumentation::Views::SlateExample }
24
end
25
-
26
- describe "#write" do
27
- before do
28
- template_dir = File.join(configuration.template_path, "rspec_api_documentation")
29
- FileUtils.mkdir_p(template_dir)
30
- File.open(File.join(template_dir, "markdown_index.mustache"), "w+") { |f| f << "{{ mustache }}" }
31
- FileUtils.mkdir_p(configuration.docs_dir)
32
- end
33
34
- it "should write the index" do
35
- writer.write
36
- index_file = File.join(configuration.docs_dir, "index.markdown")
37
- expect(File.exists?(index_file)).to be_truthy
38
39
40
41
0 commit comments