spec/genomer/runtime_spec.rb in genomer-0.0.10 vs spec/genomer/runtime_spec.rb in genomer-0.1.0

- old
+ new

@@ -298,11 +298,11 @@ version = Genomer::VERSION.split('.')[0..1] << '0' File.exists?(file).should be_true File.read(file).should == <<-EOF.unindent - source :rubygems + source "https://rubygems.org" gem 'genomer', '~> #{version.join('.')}' EOF end end @@ -334,9 +334,17 @@ subject.command.should == 'init' subject.arguments.should == ['project_name'] subject.flags[:flag] == flags[:flag] end + end + + end + + describe "#render_man" do + + it "should render markdown to man page" do + subject.render_man("##Title").should_not be_nil end end describe "#man_file" do