Sha256: 3fdd8afb8ddd627f680d376a0a9c2769f340a4890bcb7e3b7cbe87850958dec4

Contents?: true

Size: 757 Bytes

Versions: 8

Compression:

Stored size: 757 Bytes

Contents

require 'test_helper'

module Vedeu

  describe ApplicationView do

    let(:described) { Vedeu::ApplicationView }
    let(:instance)  { described.new(params) }
    let(:params)    { {} }

    describe '#initialize' do
      it { instance.must_be_instance_of(described) }
      it { instance.instance_variable_get('@params').must_equal(params) }
    end

    # describe 'accessors' do
    #   it { instance.must_respond_to(:params) }
    #   it { instance.must_respond_to(:params=) }
    # end

    describe '.render' do
      subject { described.render(params) }

      it { proc { subject }.must_raise(Vedeu::NotImplemented) }
    end

    describe '#render' do
      it { instance.must_respond_to(:render) }
    end

  end # ApplicationView

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.5.11 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.10 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.9 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.8 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.7 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.6 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.5 test/lib/vedeu/application/application_view_test.rb
vedeu-0.5.4 test/lib/vedeu/application/application_view_test.rb