Sha256: 92c49069e87b0fb6c5becbf8000a0e5c6909f7baa962615454a44e270b03e739

Contents?: true

Size: 924 Bytes

Versions: 28

Compression:

Stored size: 924 Bytes

Contents

require 'spec_helper'

require 'ruby_app/session'

describe RubyApp::Session do
  include_context 'RubyApp::Request'

  describe 'positive' do

    describe 'class' do

      specify { RubyApp::Session.should respond_to('create!') }
      specify { RubyApp::Session.should respond_to('get') }
      specify { RubyApp::Session.should respond_to('destroy!') }

      specify { RubyApp::Session.get.should_not be_nil }

    end

    describe 'instance' do

      let(:session) { RubyApp::Session.get }

      specify { session.should respond_to('pages') }
      specify { session.should respond_to('[]') }
      specify { session.should respond_to('[]=') }
      specify { session.should respond_to('identity') }
      specify { session.should respond_to('identity=') }
      specify { session.should respond_to('show') }
      specify { session.should respond_to('quit') }

    end

  end

  describe 'negative' do
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
RubyApp-0.0.46 spec/session_spec.rb
RubyApp-0.0.45 spec/session_spec.rb
RubyApp-0.0.44 spec/session_spec.rb
RubyApp-0.0.43 spec/session_spec.rb
RubyApp-0.0.42 spec/session_spec.rb
RubyApp-0.0.41 spec/session_spec.rb
RubyApp-0.0.30 spec/session_spec.rb
RubyApp-0.0.29 spec/session_spec.rb
RubyApp-0.0.28 spec/session_spec.rb
RubyApp-0.0.27 spec/session_spec.rb
RubyApp-0.0.26 spec/session_spec.rb
RubyApp-0.0.25 spec/session_spec.rb
RubyApp-0.0.24 spec/session_spec.rb
RubyApp-0.0.23 spec/session_spec.rb
RubyApp-0.0.22 spec/session_spec.rb
RubyApp-0.0.21 spec/session_spec.rb
RubyApp-0.0.20 spec/session_spec.rb
RubyApp-0.0.19 spec/session_spec.rb
RubyApp-0.0.18 spec/session_spec.rb
RubyApp-0.0.17 spec/session_spec.rb