Sha256: a0431467d36ddfdc0b0554376e9aaa9deee3929dc166130e6f6ca10d7219800a

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

require 'unit_spec_helper'

describe Shoulda::Matchers::ActionController::SetSessionMatcher, type: :controller do
  it_behaves_like 'set session or flash matcher' do
    def store_name
      'session'
    end

    def set_store
      set_session
    end

    def store_within(controller)
      controller.session
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shoulda-matchers-3.1.3 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-4.0.0.rc1 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.1.2 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.1.1 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.1.0 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.0.1 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.0.0 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
shoulda-matchers-3.0.0.rc1 spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb