Skip to content

Commit b8250a2

Browse files
committed
Remove obsolete failing test. [zipmark#275]
1 parent 58858da commit b8250a2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Diff for: spec/writers/slate_writer_spec.rb

-15
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,5 @@
2222
subject { writer.markup_example_class }
2323
it { is_expected.to be == RspecApiDocumentation::Views::SlateExample }
2424
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-
end
39-
end
4025
end
4126
end

0 commit comments

Comments
 (0)