Sha256: 1bf3f7001640cdb3db5a1c725e45072401d8f3d1e6f4ffeb40afbba0cb39466f
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Juici::Controllers::Index do describe "index" do it "should render index" do Juici::Controllers::Index.new().index do |template, opts| end end end describe "about" do it "should add block-header to all h1 tags" do Juici::Controllers::Index.new().about do |template, opts| opts[:content].should match(/class="block-header"/) end end end describe "support" do it "should render support" do Juici::Controllers::Index.new().support do |template, opts| end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
juici-0.0.1.alpha1 | spec/controllers/index_spec.rb |
juici-0.0.0.alpha1 | spec/controllers/index_spec.rb |