Sha256: e5e93ebf6acc132e240b0497a803b86dda405a63f439b0dfa9a5c86f907143ad

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

# encoding: utf-8
require 'Context/Bridge'
require 'Context/Context'
require 'Context/Views/PageView'

module Context

	describe PageView do

		before(:each) do
		    @bridge = Bridge.new(Context)
			@context = Context.new(@bridge)
			@view = @bridge.PageView.new(@context)
		end
		
		it "should close the context when the view is closed" do
		    @context.should_receive(:close)
		    @view.close
		end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jldrill-0.6.0.1 spec/Context/Views/PageView_spec.rb