Sha256: 2df5789f7e6c35d320df2824a5eee3ee29e3f50ecab1c393afae3a9373966d1b

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

require 'assert'

require 'assert/view/base'
require 'assert/suite'

module Assert::View

  class BaseTest < Assert::Context
    desc "the view base"
    setup do
      @view = Assert::View::Base.new(Assert::Suite.new, StringIO.new("", "w+"))
    end
    subject{ @view }

    should have_reader :suite
    should have_instance_methods :render, :handle_runtime_result, :options
    should have_class_method :options

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
assert-0.3.0 test/view_test.rb
assert-0.2.1 test/view_test.rb
assert-0.2.0 test/view_test.rb