Sha256: 71f09d79ff960aae772dfb38e82cb967c94580ddd75a070e1add96268dde6fa0

Contents?: true

Size: 384 Bytes

Versions: 18

Compression:

Stored size: 384 Bytes

Contents

require 'spec/helper'
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

18 entries across 18 versions & 4 rubygems

Version Path
Pistos-ramaze-2009.04.08 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.04.01 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.04.08 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.04.18 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.04.22 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.04 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.05.08 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.05 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.06.04 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.06.12 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.06 spec/ramaze/helper/gestalt.rb
rjspotter-ramaze-2009.06.29 spec/ramaze/helper/gestalt.rb
rjspotter-ramaze-2009.06.31 spec/ramaze/helper/gestalt.rb
ramaze-2009.05 spec/ramaze/helper/gestalt.rb
ramaze-2009.04 spec/ramaze/helper/gestalt.rb
ramaze-2009.06.04 spec/ramaze/helper/gestalt.rb
ramaze-2009.06.12 spec/ramaze/helper/gestalt.rb
ramaze-2009.06 spec/ramaze/helper/gestalt.rb