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.16 spec/session_spec.rb
RubyApp-0.0.15 spec/session_spec.rb
RubyApp-0.0.14 spec/session_spec.rb
RubyApp-0.0.13 spec/session_spec.rb
RubyApp-0.0.12 spec/session_spec.rb
RubyApp-0.0.11 spec/session_spec.rb
RubyApp-0.0.10 spec/session_spec.rb
RubyApp-0.0.9 spec/session_spec.rb