Sha256: 1575740b5762b396339572b93e1556f7ec16aad3c8dbdb83a2ce2849fc16d00a

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

# encoding: UTF-8

class Keynote::NestedPresenterTest < Keynote::TestCase
  setup do
    @presenter = Keynote::NestedPresenter.new(view, :model)
  end

  test "presenter has view context" do
    assert_equal "<div id=\"hi\"><a href=\"Hello\">#</a></div>",
      @presenter.generate_div
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
keynote-1.1.1 spec/test_case_spec.rb
keynote-1.1.0 spec/test_case_spec.rb
keynote-1.0.0 spec/test_case_spec.rb
keynote-0.3.1 spec/test_case_spec.rb
keynote-0.3.0 spec/test_case_spec.rb
keynote-0.2.3 spec/test_case_spec.rb
keynote-0.2.2 spec/test_case_spec.rb
keynote-0.2.1 spec/test_case_spec.rb
keynote-0.2.0 spec/test_case_spec.rb
keynote-0.2.0pre3 spec/test_case_spec.rb
keynote-0.2.0pre2 spec/test_case_spec.rb
keynote-0.2.0pre1 spec/test_case_spec.rb
keynote-0.1.3 spec/test_case_spec.rb
keynote-0.1.2 spec/test_case_spec.rb
keynote-0.1.1 spec/test_case_spec.rb
keynote-0.1.0 spec/test_case_spec.rb
keynote-0.0.1 spec/test_case_spec.rb