Sha256: 40c498ab7899f8f3dfb3c22b07670a01388c01a93bd297121d4a5775ace04575

Contents?: true

Size: 931 Bytes

Versions: 42

Compression:

Stored size: 931 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_dialog') }
      specify { session.should respond_to('quit') }

    end

  end

  describe 'negative' do
  end

end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
RubyApp-0.0.91 spec/session_spec.rb
RubyApp-0.0.90 spec/session_spec.rb
RubyApp-0.0.89 spec/session_spec.rb
RubyApp-0.0.88 spec/session_spec.rb
RubyApp-0.0.87 spec/session_spec.rb
RubyApp-0.0.86 spec/session_spec.rb
RubyApp-0.0.85 spec/session_spec.rb
RubyApp-0.0.84 spec/session_spec.rb
RubyApp-0.0.83 spec/session_spec.rb
RubyApp-0.0.82 spec/session_spec.rb
RubyApp-0.0.81 spec/session_spec.rb
RubyApp-0.0.80 spec/session_spec.rb
RubyApp-0.0.79 spec/session_spec.rb
RubyApp-0.0.78 spec/session_spec.rb
RubyApp-0.0.77 spec/session_spec.rb
RubyApp-0.0.76 spec/session_spec.rb
RubyApp-0.0.75 spec/session_spec.rb
RubyApp-0.0.74 spec/session_spec.rb
RubyApp-0.0.73 spec/session_spec.rb
RubyApp-0.0.72 spec/session_spec.rb