Sha256: 25d3177ba2e8a2db0599c8b22e46dceef5243c2ef08a0d517786469e2ec5ab81
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require 'spec_helper' RSpec.describe SmashingDocs::Conf do let!(:config) { SmashingDocs.config do |c| c.template_file = "gem_spec/fake_template.md.erb" c.output_file = "api_docs.md" end } it "sets the output file" do expect(SmashingDocs::Conf.output_file).to eq("api_docs.md") end it "sets the template file" do expect(SmashingDocs::Conf.template_file).to eq("gem_spec/fake_template.md.erb") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smashing_docs-0.1.0 | gem_rspec/conf_spec.rb |