Sha256: 4d2f7fa5c69a82fcc3c6d58c7e0df75bb27e9313ff5b31544a9c613fdeeb99bd
Contents?: true
Size: 574 Bytes
Versions: 14
Compression:
Stored size: 574 Bytes
Contents
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby 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
14 entries across 14 versions & 3 rubygems