Sha256: 3a9226b2a4402995d9ef12585d6193f4af8da026396aeb0a9463ae734dd8b478
Contents?: true
Size: 812 Bytes
Versions: 4
Compression:
Stored size: 812 Bytes
Contents
require 'spec_helper' describe MountDoc::MountDocController do describe 'GET /doc' do before { get '/doc' } it "status code 200" do response.should be_success response.status.should == 200 end it "rendered README" do response.body.should include('README') response.body.should include(GitHub::Markup.render(File.join( Rails.root, 'README.rdoc' ))) end end describe "GET /doc/files/README_FOR_APP" do before { get '/doc/files/README_FOR_APP' } it "status code 200" do response.should be_success response.status.should == 200 end it "renderd doc/README_FOR_APP" do response.body.should include(GitHub::Markup.render(File.join( Rails.root, 'doc/README_FOR_APP' ))) end end end
Version data entries
4 entries across 4 versions & 1 rubygems