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

Version Path
Pistos-ramaze-2009.06.12 spec/ramaze/helper/gestalt.rb
manveru-ramaze-2009.07 spec/ramaze/helper/gestalt.rb
ramaze-2011.12.28 spec/ramaze/helper/gestalt.rb
ramaze-2011.10.23 spec/ramaze/helper/gestalt.rb
ramaze-2011.07.25 spec/ramaze/helper/gestalt.rb
ramaze-2011.01.30 spec/ramaze/helper/gestalt.rb
ramaze-2011.01 spec/ramaze/helper/gestalt.rb
ramaze-2010.06.18 spec/ramaze/helper/gestalt.rb
ramaze-2010.04.04 spec/ramaze/helper/gestalt.rb
ramaze-2010.04 spec/ramaze/helper/gestalt.rb
ramaze-2010.03 spec/ramaze/helper/gestalt.rb
ramaze-2010.01 spec/ramaze/helper/gestalt.rb
ramaze-2009.10 spec/ramaze/helper/gestalt.rb
ramaze-2009.07 spec/ramaze/helper/gestalt.rb