Sha256: 82caf8606f72333d8accd79f136450801572a6fd81e0791349ab84c922554b22
Contents?: true
Size: 573 Bytes
Versions: 5
Compression:
Stored size: 573 Bytes
Contents
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the MIT license. require File.expand_path('../../../../spec/helper', __FILE__) require 'ramaze/helper/gestalt' describe Ramaze::Helper::Gestalt do extend Ramaze::Helper::Gestalt it 'has a shortcut for Ramaze::Gestalt::new' do gestalt{ h1('title') }.to_s.should == Ramaze::Gestalt.new{ h1('title') }.to_s end it 'has a shortcut for Ramaze::Gestalt::build' do build{ h1('title') }.should == '<h1>title</h1>' end end
Version data entries
5 entries across 5 versions & 1 rubygems