Sha256: 6aebcefe7413149e1aeb67c11a4a16c901241d5a3fd5a2ca6c36b4fbef1bef1e

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

require 'ramaze'
require 'ramaze/../test/test_helper'

require 'main'

ramaze do
  context "Entry" do
    specify "list" do
      get('/entry').should =~ %r(<h1>Entry list</h1>)
    end

    specify "add" do
      new = get('/entry/new')
      new.should =~ %r(<input type="text")
      new.should =~ %r(<textarea name="text")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ramaze-0.0.9 examples/blog/test/tc_entry.rb
ramaze-0.0.8 examples/blog/test/tc_entry.rb
ramaze-0.0.6 examples/blog/test/tc_entry.rb
ramaze-0.0.7 examples/blog/test/tc_entry.rb